summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--plugins/check_ssh.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/check_ssh.c b/plugins/check_ssh.c
index 7b7bc8f..5617add 100644
--- a/plugins/check_ssh.c
+++ b/plugins/check_ssh.c
@@ -240,6 +240,7 @@ ssh_connect (char *haddr, int hport, char *remote_version)
240 printf 240 printf
241 (_("SSH OK - %s (protocol %s)\n"), 241 (_("SSH OK - %s (protocol %s)\n"),
242 ssh_server, ssh_proto); 242 ssh_server, ssh_proto);
243 close(sd);
243 exit (STATE_OK); 244 exit (STATE_OK);
244 } 245 }
245} 246}