diff options
author | Lennart Poettering <lennart@poettering.net> | 2010-05-20 01:21:38 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2010-05-20 01:21:38 +0200 |
commit | ecc6e2b84976d0930c4340e202d1de5542092d7c (patch) | |
tree | afc68320f240adefa48f97ab4397c9461d63189e /src/unit.c | |
parent | d5159713c13859a7d472625ddaa9f9cc4c546236 (diff) |
logger: add an after dependency on the syslog dependency
Diffstat (limited to 'src/unit.c')
-rw-r--r-- | src/unit.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/unit.c b/src/unit.c index bcb95b2adc..012edd47a8 100644 --- a/src/unit.c +++ b/src/unit.c @@ -534,7 +534,10 @@ int unit_add_exec_dependencies(Unit *u, ExecContext *c) { assert(u); assert(c); - if (c->std_output != EXEC_OUTPUT_KMSG && c->std_output != EXEC_OUTPUT_SYSLOG) + if (c->std_output != EXEC_OUTPUT_KMSG && + c->std_output != EXEC_OUTPUT_SYSLOG && + c->std_error != EXEC_OUTPUT_KMSG && + c->std_error != EXEC_OUTPUT_SYSLOG) return 0; /* If syslog or kernel logging is requested, make sure our own |