Module: check_mk
Branch: master
Commit: 7becaf944895e433c14aee6cd4117ff6e2aa5016
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=7becaf944895e4…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Mon Mar 9 15:28:59 2015 +0100
Fixed handling of check_mk commandline parameter "-c"
---
modules/check_mk.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/modules/check_mk.py b/modules/check_mk.py
index b48ff95..dc76305 100755
--- a/modules/check_mk.py
+++ b/modules/check_mk.py
@@ -5500,7 +5500,7 @@ for o,a in opts:
elif o in [ '-f', '--force' ]:
opt_force = True
elif o == '-c':
- if check_mk_configfile != 'a':
+ if check_mk_configfile != a:
sys.stderr.write("Please use the option -c separated by the other
options.\n")
sys.exit(1)
elif o == '--cache':