summaryrefslogtreecommitdiffstats
path: root/plugins/check_dig.c
diff options
context:
space:
mode:
authorBenoit Mortier <opensides@users.sourceforge.net>2004-12-02 14:54:36 (GMT)
committerBenoit Mortier <opensides@users.sourceforge.net>2004-12-02 14:54:36 (GMT)
commitdf1bd0c89ff63de64ee630e0025389651947020c (patch)
tree4669c35dbade257e0cca838fd41c28ce3bd32b7e /plugins/check_dig.c
parentd7520c8d6f058dce6581382d56b480c73f8dddde (diff)
downloadmonitoring-plugins-df1bd0c89ff63de64ee630e0025389651947020c.tar.gz
return of process_arguments() is TRUE not OK !
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@978 f882894a-f735-0410-b71e-b25c423dba1c
Diffstat (limited to 'plugins/check_dig.c')
-rw-r--r--plugins/check_dig.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/check_dig.c b/plugins/check_dig.c
index a500cdc..14c0da5 100644
--- a/plugins/check_dig.c
+++ b/plugins/check_dig.c
@@ -68,7 +68,7 @@ main (int argc, char **argv)
68 if (signal (SIGALRM, popen_timeout_alarm_handler) == SIG_ERR) 68 if (signal (SIGALRM, popen_timeout_alarm_handler) == SIG_ERR)
69 usage (_("Cannot catch SIGALRM\n")); 69 usage (_("Cannot catch SIGALRM\n"));
70 70
71 if (process_arguments (argc, argv) != OK) 71 if (process_arguments (argc, argv) != TRUE)
72 usage (_("Could not parse arguments\n")); 72 usage (_("Could not parse arguments\n"));
73 73
74 /* get the command to run */ 74 /* get the command to run */