summaryrefslogtreecommitdiffstats
path: root/plugins/check_smtp.c
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/check_smtp.c')
-rw-r--r--plugins/check_smtp.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/plugins/check_smtp.c b/plugins/check_smtp.c
index b6c60c2..55cf5da 100644
--- a/plugins/check_smtp.c
+++ b/plugins/check_smtp.c
@@ -351,7 +351,7 @@ process_arguments (int argc, char **argv)
351 socket_timeout = atoi (optarg); 351 socket_timeout = atoi (optarg);
352 } 352 }
353 else { 353 else {
354 usage4 (_("Time interval must be a positive integer")); 354 usage4 (_("Timeout interval must be a positive integer"));
355 } 355 }
356 break; 356 break;
357 case '4': 357 case '4':
@@ -371,9 +371,7 @@ process_arguments (int argc, char **argv)
371 print_help (); 371 print_help ();
372 exit (STATE_OK); 372 exit (STATE_OK);
373 case '?': /* help */ 373 case '?': /* help */
374 printf (_("%s: Unknown argument: %s\n\n"), progname, optarg); 374 usage2 (_("Unknown argument"), optarg);
375 print_usage ();
376 exit (STATE_UNKNOWN);
377 } 375 }
378 } 376 }
379 377