1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

Actually add stdout data to stdout buffer for daemon mode

This commit is contained in:
Daniel Hokka Zakrisson 2013-02-06 16:52:04 +01:00
parent d5e63332fe
commit dab31116b3

View file

@ -187,6 +187,7 @@ class Service(object):
dat = os.read(p.stdout.fileno(), 4096)
if not dat:
fds.remove(p.stdout)
stdout += dat
if p.stderr in rfd:
dat = os.read(p.stderr.fileno(), 4096)
if not dat: