]> git.ipfire.org Git - thirdparty/systemd.git/commit - src/core/service.c
core: don't reset /dev/console if stdin/stdout/stderr as passed as fd in a transient...
authorLennart Poettering <lennart@poettering.net>
Thu, 28 Jan 2016 15:25:39 +0000 (16:25 +0100)
committerLennart Poettering <lennart@poettering.net>
Thu, 28 Jan 2016 15:25:39 +0000 (16:25 +0100)
commit1e22b5cda04b6d5e0dd83ab8e6ecb452cf34851f
tree58d2d9b1596fa7b70259bc93e47c125903a403c1
parentcd72d2044ad28b475bf84a38ba6db45292467dd8
core: don't reset /dev/console if stdin/stdout/stderr as passed as fd in a transient service

Otherwise we might end resetting /dev/console all the time when a transient service starts or stops.

Fixes #2377
Fixes #2198
Fixes #2061
src/basic/terminal-util.c
src/core/dbus-service.c
src/core/execute.c
src/core/execute.h
src/core/service.c