diff options
author | Sven Nierlein <sven@nierlein.de> | 2015-10-04 17:03:50 (GMT) |
---|---|---|
committer | Sven Nierlein <sven@nierlein.de> | 2015-10-04 17:24:30 (GMT) |
commit | bebf1cd050ecb0e23f02353e19125767623bd41f (patch) | |
tree | f09e4862c0c4f4f4cb31feb789304feee2e9d79a /plugins-root/check_icmp.c | |
parent | edca257e2032866f6ca63bc540a317574cd89ac8 (diff) | |
download | monitoring-plugins-bebf1cd050ecb0e23f02353e19125767623bd41f.tar.gz |
use unknown exit code for help/version in plugins-root as wellrefs/pull/1363/head
Signed-off-by: Sven Nierlein <sven@nierlein.de>
Diffstat (limited to 'plugins-root/check_icmp.c')
-rw-r--r-- | plugins-root/check_icmp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins-root/check_icmp.c b/plugins-root/check_icmp.c index f420837..9ed12ba 100644 --- a/plugins-root/check_icmp.c +++ b/plugins-root/check_icmp.c | |||
@@ -526,10 +526,10 @@ main(int argc, char **argv) | |||
526 | break; | 526 | break; |
527 | case 'V': /* version */ | 527 | case 'V': /* version */ |
528 | print_revision (progname, NP_VERSION); | 528 | print_revision (progname, NP_VERSION); |
529 | exit (STATE_OK); | 529 | exit (STATE_UNKNOWN); |
530 | case 'h': /* help */ | 530 | case 'h': /* help */ |
531 | print_help (); | 531 | print_help (); |
532 | exit (STATE_OK); | 532 | exit (STATE_UNKNOWN); |
533 | } | 533 | } |
534 | } | 534 | } |
535 | } | 535 | } |