summaryrefslogtreecommitdiffstats
path: root/plugins-root
diff options
context:
space:
mode:
authorDanijel Tasov <data@consol.de>2023-09-25 09:49:11 +0200
committerDanijel Tasov <m@rbfh.de>2023-09-25 09:49:59 +0200
commit9387e21de7b66a44f2b8a5f907124afdcf7b88a8 (patch)
tree9c2abe9114eca50e58479ee084f56b2562cffa80 /plugins-root
parent2f909de3405a2073bafed32a3ce47e466bb562ce (diff)
downloadmonitoring-plugins-9387e21de7b66a44f2b8a5f907124afdcf7b88a8.tar.gz
exit UNKNOWN on -V
Signed-off-by: Danijel Tasov <m@rbfh.de>
Diffstat (limited to 'plugins-root')
-rw-r--r--plugins-root/check_icmp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins-root/check_icmp.c b/plugins-root/check_icmp.c
index a4854153..18eed74e 100644
--- a/plugins-root/check_icmp.c
+++ b/plugins-root/check_icmp.c
@@ -579,7 +579,7 @@ main(int argc, char **argv)
579 break; 579 break;
580 case 'V': /* version */ 580 case 'V': /* version */
581 print_revision (progname, NP_VERSION); 581 print_revision (progname, NP_VERSION);
582 exit (STATE_OK); 582 exit (STATE_UNKNOWN);
583 case 'h': /* help */ 583 case 'h': /* help */
584 print_help (); 584 print_help ();
585 exit (STATE_UNKNOWN); 585 exit (STATE_UNKNOWN);