diff options
author | Lennart Poettering <lennart@poettering.net> | 2011-02-15 01:27:53 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2011-02-15 01:27:53 +0100 |
commit | 28dbc1e80b0db09313f11e44f218138aefd646c8 (patch) | |
tree | 897f4bbc275cc773d20929deabeb8c16a51f2910 /src/unit.c | |
parent | 7b4bf06ba7f31ea8069fc8927729d70ab98b9b64 (diff) |
execute: optionally forward program output to /dev/console in addition to syslog/kmsg
Diffstat (limited to 'src/unit.c')
-rw-r--r-- | src/unit.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/unit.c b/src/unit.c index a7e6714c45..0d5312376c 100644 --- a/src/unit.c +++ b/src/unit.c @@ -556,8 +556,12 @@ int unit_add_exec_dependencies(Unit *u, ExecContext *c) { if (c->std_output != EXEC_OUTPUT_KMSG && c->std_output != EXEC_OUTPUT_SYSLOG && + c->std_output != EXEC_OUTPUT_KMSG_AND_CONSOLE && + c->std_output != EXEC_OUTPUT_SYSLOG_AND_CONSOLE && c->std_error != EXEC_OUTPUT_KMSG && - c->std_error != EXEC_OUTPUT_SYSLOG) + c->std_error != EXEC_OUTPUT_SYSLOG_AND_CONSOLE && + c->std_error != EXEC_OUTPUT_KMSG && + c->std_error != EXEC_OUTPUT_SYSLOG_AND_CONSOLE) return 0; /* If syslog or kernel logging is requested, make sure our own |