diff options
Diffstat (limited to 'plugins/check_dbi.c')
-rw-r--r-- | plugins/check_dbi.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/plugins/check_dbi.c b/plugins/check_dbi.c index a3d033f4..ced13d05 100644 --- a/plugins/check_dbi.c +++ b/plugins/check_dbi.c | |||
@@ -35,6 +35,7 @@ const char *email = "devel@monitoring-plugins.org"; | |||
35 | 35 | ||
36 | #include "common.h" | 36 | #include "common.h" |
37 | #include "utils.h" | 37 | #include "utils.h" |
38 | #include "utils_cmd.h" | ||
38 | 39 | ||
39 | #include "netutils.h" | 40 | #include "netutils.h" |
40 | 41 | ||
@@ -368,10 +369,10 @@ process_arguments (int argc, char **argv) | |||
368 | usage5 (); | 369 | usage5 (); |
369 | case 'h': /* help */ | 370 | case 'h': /* help */ |
370 | print_help (); | 371 | print_help (); |
371 | exit (STATE_OK); | 372 | exit (STATE_UNKNOWN); |
372 | case 'V': /* version */ | 373 | case 'V': /* version */ |
373 | print_revision (progname, NP_VERSION); | 374 | print_revision (progname, NP_VERSION); |
374 | exit (STATE_OK); | 375 | exit (STATE_UNKNOWN); |
375 | 376 | ||
376 | case 'c': /* critical range */ | 377 | case 'c': /* critical range */ |
377 | critical_range = optarg; | 378 | critical_range = optarg; |