diff options
author | Lennart Poettering <lennart@poettering.net> | 2016-01-28 16:25:39 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2016-01-28 16:25:39 +0100 |
commit | 1e22b5cda04b6d5e0dd83ab8e6ecb452cf34851f (patch) | |
tree | 58d2d9b1596fa7b70259bc93e47c125903a403c1 /src/core/execute.h | |
parent | cd72d2044ad28b475bf84a38ba6db45292467dd8 (diff) |
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
Diffstat (limited to 'src/core/execute.h')
-rw-r--r-- | src/core/execute.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/execute.h b/src/core/execute.h index 8649620830..e4b93b603d 100644 --- a/src/core/execute.h +++ b/src/core/execute.h @@ -122,6 +122,8 @@ struct ExecContext { nsec_t timer_slack_nsec; + bool stdio_as_fds; + char *tty_path; bool tty_reset; |