Module: check_mk
Branch: master
Commit: 0e4b062b6ae288635e8e0ddf68c489b08a4ab3f3
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=0e4b062b6ae288…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Tue Nov 30 16:52:53 2010 +0100
Fixed error message output
---
web/htdocs/wato.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/web/htdocs/wato.py b/web/htdocs/wato.py
index 1b3df4c..4c0d68c 100644
--- a/web/htdocs/wato.py
+++ b/web/htdocs/wato.py
@@ -513,7 +513,7 @@ def check_mk_automation(command, args=[], indata=""):
"%s ALL = (%s) NOPASSWD: %s *\n"
"</pre></li>\n"
"<li>Retry this operation</li></ol>\n" %
- (apache_user, apache_user, omd_site, "
".join(commandargs[2:])))
+ (apache_user, apache_user, omd_site, "
".join(commandargs[3:])))
cmd = commandargs + [ command ] + args
try: