chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
d515971
)
logger: add an after dependency on the syslog dependency
author
Lennart Poettering
<lennart@poettering.net>
Wed, 19 May 2010 23:21:38 +0000
(
01:21
+0200)
committer
Lennart Poettering
<lennart@poettering.net>
Wed, 19 May 2010 23:21:38 +0000
(
01:21
+0200)
src/unit.c
patch
|
blob
|
history
diff --git
a/src/unit.c
b/src/unit.c
index bcb95b2adc1740e1d87cdee8e1c8f0dcd556c8b2..012edd47a8277051bde18f930ba50beab170aa0f 100644
(file)
--- 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