summaryrefslogtreecommitdiffstats
path: root/plugins/check_procs.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_procs.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_procs.c')
-rw-r--r--plugins/check_procs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/check_procs.c b/plugins/check_procs.c
index b7f32c7..d1e1b7c 100644
--- a/plugins/check_procs.c
+++ b/plugins/check_procs.c
@@ -115,7 +115,7 @@ main (int argc, char **argv)
115 asprintf (&metric_name, "PROCS"); 115 asprintf (&metric_name, "PROCS");
116 metric = METRIC_PROCS; 116 metric = METRIC_PROCS;
117 117
118 if (process_arguments (argc, argv) != OK) 118 if (process_arguments (argc, argv) != TRUE)
119 usage (_("check_procs: could not parse arguments\n")); 119 usage (_("check_procs: could not parse arguments\n"));
120 120
121 /* Set signal handling and alarm timeout */ 121 /* Set signal handling and alarm timeout */