summaryrefslogtreecommitdiff
path: root/src/unit.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2012-01-05 23:54:45 +0100
committerLennart Poettering <lennart@poettering.net>2012-01-06 02:48:38 +0100
commit706343f492725fe430879c5d4a3485d7c49b0601 (patch)
tree001c8808209f44b02b92019fb528ced65f3e2998 /src/unit.c
parentdb5973704b9e03e5902072354d3a2697f7992a21 (diff)
journal: introduce log target 'journal' for executed processes
Diffstat (limited to 'src/unit.c')
-rw-r--r--src/unit.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/unit.c b/src/unit.c
index b31b92fc24..8630c3c59d 100644
--- a/src/unit.c
+++ b/src/unit.c
@@ -561,11 +561,15 @@ 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_JOURNAL &&
c->std_output != EXEC_OUTPUT_KMSG_AND_CONSOLE &&
c->std_output != EXEC_OUTPUT_SYSLOG_AND_CONSOLE &&
+ c->std_output != EXEC_OUTPUT_JOURNAL_AND_CONSOLE &&
c->std_error != EXEC_OUTPUT_KMSG &&
c->std_error != EXEC_OUTPUT_SYSLOG &&
+ c->std_error != EXEC_OUTPUT_JOURNAL &&
c->std_error != EXEC_OUTPUT_KMSG_AND_CONSOLE &&
+ c->std_error != EXEC_OUTPUT_JOURNAL_AND_CONSOLE &&
c->std_error != EXEC_OUTPUT_SYSLOG_AND_CONSOLE)
return 0;