diff options
| author | David Lamparter <equinox@opensourcerouting.org> | 2017-08-11 15:43:28 +0200 |
|---|---|---|
| committer | David Lamparter <equinox@opensourcerouting.org> | 2017-08-11 15:45:56 +0200 |
| commit | eef3d03026f6bd6e7528c0250a0a34f57c6bf756 (patch) | |
| tree | 12c6b2469f53f756df8f9d69458df6e924082d3c /lib/pid_output.c | |
| parent | 2cb5980f20bb642e60484a1647031cb6f013ddc3 (diff) | |
lib: don't close stdio when running foreground
c9c8d0d ("lib: close stdin/out/err in non-terminal case") overshot its
goal and closes stdin/stdout/stderr even when a daemon is running in
foreground. That means stdout logging & exit memory reporting are both
broken.
Reported-by: Lou Berger <lberger@labn.net>
Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
Diffstat (limited to 'lib/pid_output.c')
0 files changed, 0 insertions, 0 deletions
