summaryrefslogtreecommitdiff
path: root/unit.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2010-05-15 17:25:08 +0200
committerLennart Poettering <lennart@poettering.net>2010-05-15 17:25:08 +0200
commit843d2643849a1ec63034012c8fe50bfaad23190b (patch)
treec073b19d9eb4a164b41c70e60fdcbd2d5e9b9bbf /unit.c
parentd9a76d8f860c4ee19c4aa0df685889d058f4c5cb (diff)
log: rework logging logic so that we don't keep /dev/console open
Diffstat (limited to 'unit.c')
-rw-r--r--unit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/unit.c b/unit.c
index 7779753591..1757af317d 100644
--- a/unit.c
+++ b/unit.c
@@ -1027,7 +1027,7 @@ void unit_notify(Unit *u, UnitActiveState os, UnitActiveState ns) {
/* The syslog daemon just might have become
* available, hence try to connect to it, if
* we aren't yet connected. */
- log_open_syslog();
+ log_open();
if (u->meta.type == UNIT_MOUNT)
/* Another directory became available, let's