Module: check_mk
Branch: master
Commit: 7d59667a7a83bdef1f38e35a26a98dead551052f
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=7d59667a7a83bd…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Thu Nov 23 08:50:06 2017 +0100
cmk: Fixed exit code when showing the help text
Change-Id: I98ab9191398037b2751da53a799a015c67170c3a
---
bin/check_mk | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/bin/check_mk b/bin/check_mk
index 94b6dc0..3591bd7 100755
--- a/bin/check_mk
+++ b/bin/check_mk
@@ -103,7 +103,7 @@ try:
exit_status = modes.call("--check", None, opts, args)
else:
modes.get("help").handler_function()
- exit_status = 1
+ exit_status = 0
profiling.output_profile()
sys.exit(exit_status)