Code

return of process_arguments() is TRUE not OK !
[nagiosplug.git] / plugins / check_dig.c
index a500cdcfaa0f3e99b0a02652df797be7d254da0c..14c0da5a56e3516b3e6316a869dc9da1c9216bec 100644 (file)
@@ -68,7 +68,7 @@ main (int argc, char **argv)
        if (signal (SIGALRM, popen_timeout_alarm_handler) == SIG_ERR)
                usage (_("Cannot catch SIGALRM\n"));
 
-       if (process_arguments (argc, argv) != OK)
+       if (process_arguments (argc, argv) != TRUE)
                usage (_("Could not parse arguments\n"));
 
        /* get the command to run */