From dab31116b3727bc4a34bda04ab62c0fa07393651 Mon Sep 17 00:00:00 2001 From: Daniel Hokka Zakrisson Date: Wed, 6 Feb 2013 16:52:04 +0100 Subject: [PATCH] Actually add stdout data to stdout buffer for daemon mode --- library/service | 1 + 1 file changed, 1 insertion(+) diff --git a/library/service b/library/service index 77612aef71..6a1721b037 100644 --- a/library/service +++ b/library/service @@ -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: