diff options
Diffstat (limited to 'plugins/check_ssh.c')
-rw-r--r-- | plugins/check_ssh.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/check_ssh.c b/plugins/check_ssh.c index 4b5f6b76..2e16e651 100644 --- a/plugins/check_ssh.c +++ b/plugins/check_ssh.c | |||
@@ -78,7 +78,7 @@ main (int argc, char **argv) | |||
78 | 78 | ||
79 | /* initialize alarm signal handling */ | 79 | /* initialize alarm signal handling */ |
80 | signal (SIGALRM, socket_timeout_alarm_handler); | 80 | signal (SIGALRM, socket_timeout_alarm_handler); |
81 | 81 | ||
82 | alarm (socket_timeout); | 82 | alarm (socket_timeout); |
83 | 83 | ||
84 | /* ssh_connect exits if error is found */ | 84 | /* ssh_connect exits if error is found */ |
@@ -255,7 +255,7 @@ ssh_connect (char *haddr, int hport, char *remote_version) | |||
255 | close(sd); | 255 | close(sd); |
256 | exit (STATE_WARNING); | 256 | exit (STATE_WARNING); |
257 | } | 257 | } |
258 | 258 | ||
259 | printf | 259 | printf |
260 | (_("SSH OK - %s (protocol %s)\n"), | 260 | (_("SSH OK - %s (protocol %s)\n"), |
261 | ssh_server, ssh_proto); | 261 | ssh_server, ssh_proto); |
@@ -294,7 +294,7 @@ print_help (void) | |||
294 | 294 | ||
295 | printf (" %s\n", "-r, --remote-version=STRING"); | 295 | printf (" %s\n", "-r, --remote-version=STRING"); |
296 | printf (" %s\n", _("Warn if string doesn't match expected server version (ex: OpenSSH_3.9p1)")); | 296 | printf (" %s\n", _("Warn if string doesn't match expected server version (ex: OpenSSH_3.9p1)")); |
297 | 297 | ||
298 | printf (_(UT_VERBOSE)); | 298 | printf (_(UT_VERBOSE)); |
299 | 299 | ||
300 | #ifdef NP_EXTRA_OPTS | 300 | #ifdef NP_EXTRA_OPTS |