diff options
author | Benoit Mortier <opensides@users.sourceforge.net> | 2004-12-02 01:11:01 +0000 |
---|---|---|
committer | Benoit Mortier <opensides@users.sourceforge.net> | 2004-12-02 01:11:01 +0000 |
commit | 230d67e18ad368773f2302485d0b55f50f654e3f (patch) | |
tree | 555c1d1dd92d7897e037303bf03f86b2de0f78b9 /plugins/check_ping.c | |
parent | 2d1ba3e36b950f05832ea2bd595616fa6cd28c28 (diff) | |
download | monitoring-plugins-230d67e18ad368773f2302485d0b55f50f654e3f.tar.gz |
changed Error: by CRITICAL -
more localization fixes
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@971 f882894a-f735-0410-b71e-b25c423dba1c
Diffstat (limited to 'plugins/check_ping.c')
-rw-r--r-- | plugins/check_ping.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/check_ping.c b/plugins/check_ping.c index 260e1b65..0e090542 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) == ERROR) | 81 | if (process_arguments (argc, argv) != OK) |
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 */ |
@@ -121,7 +121,7 @@ main (int argc, char **argv) | |||
121 | if (pl == UNKNOWN_PACKET_LOSS || rta < 0.0) { | 121 | if (pl == UNKNOWN_PACKET_LOSS || rta < 0.0) { |
122 | printf ("%s\n", cmd); | 122 | printf ("%s\n", cmd); |
123 | die (STATE_UNKNOWN, | 123 | die (STATE_UNKNOWN, |
124 | _("Error: Could not interpret output from ping command\n")); | 124 | _("CRITICAL - Could not interpret output from ping command\n")); |
125 | } | 125 | } |
126 | 126 | ||
127 | if (pl >= cpl || rta >= crta || rta < 0) | 127 | if (pl >= cpl || rta >= crta || rta < 0) |