Module: check_mk
Branch: master
Commit: b38ca00847a4b60a550b067e267e4d70df6d99f0
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=b38ca00847a4b6…
Author: Andreas Boesl <ab(a)mathias-kettner.de>
Date: Tue Nov 5 16:07:48 2013 +0100
removed werk auto-insert mode (by popular request)
---
werk | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/werk b/werk
index 8d3e4e2..4505ed3 100755
--- a/werk
+++ b/werk
@@ -645,7 +645,7 @@ def edit_werk(werkid, custom_files = []):
if not editor:
bail_out("No editor available (please set EDITOR).\n")
- if 0 == os.system("bash -c '%s -s <(echo -n i) +8 %s'" %
(editor, werkid)):
+ if 0 == os.system("bash -c '%s +8 %s'" % (editor, werkid)):
load_werks()
werk = g_werks[werkid]
git_add(g_werks[werkid])