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_ping.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_ping.c')
-rw-r--r-- | plugins/check_ping.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/check_ping.c b/plugins/check_ping.c index 0e09054..6d8ef06 100644 --- a/plugins/check_ping.c +++ b/plugins/check_ping.c | |||
@@ -78,7 +78,7 @@ main (int argc, char **argv) | |||
78 | addresses = malloc (sizeof(char*) * max_addr); | 78 | addresses = malloc (sizeof(char*) * max_addr); |
79 | addresses[0] = NULL; | 79 | addresses[0] = NULL; |
80 | 80 | ||
81 | if (process_arguments (argc, argv) != OK) | 81 | if (process_arguments (argc, argv) != TRUE) |
82 | usage (_("check_ping: could not parse arguments\n")); | 82 | usage (_("check_ping: could not parse arguments\n")); |
83 | 83 | ||
84 | /* Set signal handling and alarm */ | 84 | /* Set signal handling and alarm */ |