diff options
Diffstat (limited to 'plugins/check_dns.c')
| -rw-r--r-- | plugins/check_dns.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/plugins/check_dns.c b/plugins/check_dns.c index d64431a8..070223e7 100644 --- a/plugins/check_dns.c +++ b/plugins/check_dns.c | |||
| @@ -68,12 +68,11 @@ main (int argc, char **argv) | |||
| 68 | 68 | ||
| 69 | /* Set signal handling and alarm */ | 69 | /* Set signal handling and alarm */ |
| 70 | if (signal (SIGALRM, popen_timeout_alarm_handler) == SIG_ERR) { | 70 | if (signal (SIGALRM, popen_timeout_alarm_handler) == SIG_ERR) { |
| 71 | printf (_("Cannot catch SIGALRM")); | 71 | usage4 (_("Cannot catch SIGALRM")); |
| 72 | return STATE_UNKNOWN; | ||
| 73 | } | 72 | } |
| 74 | 73 | ||
| 75 | if (process_arguments (argc, argv) != TRUE) { | 74 | if (process_arguments (argc, argv) != TRUE) { |
| 76 | usage (_("check_dns: could not parse arguments\n")); | 75 | usage4 (_("Could not parse arguments")); |
| 77 | } | 76 | } |
| 78 | 77 | ||
| 79 | /* get the command to run */ | 78 | /* get the command to run */ |
