diff options
-rw-r--r-- | plugins/check_by_ssh.c | 4 | ||||
-rw-r--r-- | plugins/check_dns.c | 4 | ||||
-rw-r--r-- | po/POTFILES.in | 1 |
3 files changed, 3 insertions, 6 deletions
diff --git a/plugins/check_by_ssh.c b/plugins/check_by_ssh.c index d34b267..dd2230a 100644 --- a/plugins/check_by_ssh.c +++ b/plugins/check_by_ssh.c | |||
@@ -338,8 +338,8 @@ print_help (void) | |||
338 | { | 338 | { |
339 | print_revision (progname, revision); | 339 | print_revision (progname, revision); |
340 | 340 | ||
341 | printf (_("Copyright (c) 1999 Karl DeBisschop <kdebisschop@users.sourceforge.net>\n")); | 341 | printf ("Copyright (c) 1999 Karl DeBisschop <kdebisschop@users.sourceforge.net>\n"); |
342 | printf (_(COPYRIGHT), copyright, email); | 342 | printf (COPYRIGHT, copyright, email); |
343 | 343 | ||
344 | printf (_("This plugin uses SSH to execute commands on a remote host\n\n")); | 344 | printf (_("This plugin uses SSH to execute commands on a remote host\n\n")); |
345 | 345 | ||
diff --git a/plugins/check_dns.c b/plugins/check_dns.c index b9ad29d..dd6ebda 100644 --- a/plugins/check_dns.c +++ b/plugins/check_dns.c | |||
@@ -324,9 +324,7 @@ process_arguments (int argc, char **argv) | |||
324 | /* TODO: this is_host check is probably unnecessary. */ | 324 | /* TODO: this is_host check is probably unnecessary. */ |
325 | /* Better to confirm nslookup response matches */ | 325 | /* Better to confirm nslookup response matches */ |
326 | if (is_host (optarg) == FALSE) { | 326 | if (is_host (optarg) == FALSE) { |
327 | printf (_("Invalid hostname/address\n\n")); | 327 | usage2 (_("Invalid hostname/address"), optarg); |
328 | print_usage (); | ||
329 | exit (STATE_UNKNOWN); | ||
330 | } | 328 | } |
331 | if (strlen (optarg) >= ADDRESS_LENGTH) | 329 | if (strlen (optarg) >= ADDRESS_LENGTH) |
332 | die (STATE_UNKNOWN, _("Input buffer overflow\n")); | 330 | die (STATE_UNKNOWN, _("Input buffer overflow\n")); |
diff --git a/po/POTFILES.in b/po/POTFILES.in index 51a84c7..3697da4 100644 --- a/po/POTFILES.in +++ b/po/POTFILES.in | |||
@@ -7,7 +7,6 @@ plugins/check_fping.c | |||
7 | plugins/check_game.c | 7 | plugins/check_game.c |
8 | plugins/check_hpjd.c | 8 | plugins/check_hpjd.c |
9 | plugins/check_http.c | 9 | plugins/check_http.c |
10 | plugins/check_ide-smart.c | ||
11 | plugins/check_ldap.c | 10 | plugins/check_ldap.c |
12 | plugins/check_load.c | 11 | plugins/check_load.c |
13 | plugins/check_mrtg.c | 12 | plugins/check_mrtg.c |