summaryrefslogtreecommitdiffstats
path: root/plugins-root
diff options
context:
space:
mode:
Diffstat (limited to 'plugins-root')
-rw-r--r--plugins-root/check_dhcp.c4
-rw-r--r--plugins-root/check_icmp.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/plugins-root/check_dhcp.c b/plugins-root/check_dhcp.c
index b874c555..3723e61a 100644
--- a/plugins-root/check_dhcp.c
+++ b/plugins-root/check_dhcp.c
@@ -1163,11 +1163,11 @@ int call_getopt(int argc, char **argv){
1163 1163
1164 case 'V': /* version */ 1164 case 'V': /* version */
1165 print_revision(progname, NP_VERSION); 1165 print_revision(progname, NP_VERSION);
1166 exit(STATE_OK); 1166 exit(STATE_UNKNOWN);
1167 1167
1168 case 'h': /* help */ 1168 case 'h': /* help */
1169 print_help(); 1169 print_help();
1170 exit(STATE_OK); 1170 exit(STATE_UNKNOWN);
1171 1171
1172 case 'v': /* verbose */ 1172 case 'v': /* verbose */
1173 verbose=1; 1173 verbose=1;
diff --git a/plugins-root/check_icmp.c b/plugins-root/check_icmp.c
index f4208371..9ed12ba1 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 }