diff options
author | Benoit Mortier <opensides@users.sourceforge.net> | 2004-12-02 14:54:36 (GMT) |
---|---|---|
committer | Benoit Mortier <opensides@users.sourceforge.net> | 2004-12-02 14:54:36 (GMT) |
commit | df1bd0c89ff63de64ee630e0025389651947020c (patch) | |
tree | 4669c35dbade257e0cca838fd41c28ce3bd32b7e /plugins/check_procs.c | |
parent | d7520c8d6f058dce6581382d56b480c73f8dddde (diff) | |
download | monitoring-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.c | 2 |
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 */ |