]> git.uio.no Git - check_openmanage.git/blobdiff - check_openmanage
Exit with value 3 (unknown) if printing help or version info. This is
[check_openmanage.git] / check_openmanage
index 57882176deeca6ce1bb8f063c3d21758eb061481..f00ea855ed362d9105732e0b25f09aa9acf97d6e 100755 (executable)
@@ -205,13 +205,13 @@ GetOptions('b|blacklist=s'      => \@{ $opt{blacklist} },
 # If user requested help
 if ($opt{help}) {
     print $USAGE, $HELP;
-    exit $E_OK;
+    exit $E_UNKNOWN;
 }
 
 # If user requested version info
 if ($opt{version}) {
     print $LICENSE;
-    exit $E_OK;
+    exit $E_UNKNOWN;
 }
 
 # Setting timeout