Module: check_mk
Branch: master
Commit: 8f402524a774ecb8ddedb4038302668f4e968807
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=8f402524a774ec…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Fri Mar 11 14:47:13 2016 +0100
stdin should be readable, really.
---
modules/check_mk_base.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/modules/check_mk_base.py b/modules/check_mk_base.py
index 3db97e9..422c90f 100644
--- a/modules/check_mk_base.py
+++ b/modules/check_mk_base.py
@@ -772,7 +772,7 @@ def get_agent_info_program(commandline):
vverbose("Calling external program %s\n" % commandline)
try:
- p = subprocess.Popen(commandline, shell=True, stdin=open(os.devnull,
'w'),
+ p = subprocess.Popen(commandline, shell=True, stdin=open(os.devnull),
stdout=subprocess.PIPE, stderr = subprocess.PIPE,
preexec_fn=os.setsid, close_fds=True)
stdout, stderr = p.communicate()