mirror of
https://github.com/monitoring-plugins/monitoring-plugins.git
synced 2026-04-21 22:29:49 -04:00
exit UNKNOWN on -V
Signed-off-by: Danijel Tasov <m@rbfh.de>
This commit is contained in:
parent
2f909de340
commit
9387e21de7
1 changed files with 1 additions and 1 deletions
|
|
@ -579,7 +579,7 @@ main(int argc, char **argv)
|
|||
break;
|
||||
case 'V': /* version */
|
||||
print_revision (progname, NP_VERSION);
|
||||
exit (STATE_OK);
|
||||
exit (STATE_UNKNOWN);
|
||||
case 'h': /* help */
|
||||
print_help ();
|
||||
exit (STATE_UNKNOWN);
|
||||
|
|
|
|||
Loading…
Reference in a new issue