From: Lennart Poettering Date: Wed, 19 May 2010 23:21:38 +0000 (+0200) Subject: logger: add an after dependency on the syslog dependency X-Git-Tag: 0.git+20100605+dfd8ee-1~11^2^2~49 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ecc6e2b84976d0930c4340e202d1de5542092d7c;p=systemd logger: add an after dependency on the syslog dependency --- diff --git a/src/unit.c b/src/unit.c index bcb95b2a..012edd47 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