summaryrefslogtreecommitdiffstats
path: root/plugins/check_dns.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_dns.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_dns.c')
-rw-r--r--plugins/check_dns.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/plugins/check_dns.c b/plugins/check_dns.c
index 9ab001f..d64431a 100644
--- a/plugins/check_dns.c
+++ b/plugins/check_dns.c
@@ -72,9 +72,8 @@ main (int argc, char **argv)
72 return STATE_UNKNOWN; 72 return STATE_UNKNOWN;
73 } 73 }
74 74
75 if (process_arguments (argc, argv) != OK) { 75 if (process_arguments (argc, argv) != TRUE) {
76 usage (_("check_dns: could not parse arguments\n")); 76 usage (_("check_dns: could not parse arguments\n"));
77 return STATE_UNKNOWN;
78 } 77 }
79 78
80 /* get the command to run */ 79 /* get the command to run */