[systemd-commits] src/shutdown.c

Lennart Poettering lennart at kemper.freedesktop.org
Wed Oct 13 16:27:37 PDT 2010


 src/shutdown.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 2ca1b422530e0e1c3d354b2e95a82723fe3f7702
Author: Lennart Poettering <lennart at poettering.net>
Date:   Thu Oct 14 01:27:31 2010 +0200

    shutdown: log to console by default

diff --git a/src/shutdown.c b/src/shutdown.c
index 176327b..be3fff4 100644
--- a/src/shutdown.c
+++ b/src/shutdown.c
@@ -203,7 +203,7 @@ int main(int argc, char *argv[]) {
         bool need_umount = true, need_swapoff = true, need_loop_detach = true;
 
         log_parse_environment();
-        log_set_target(LOG_TARGET_KMSG); /* syslog will die if not gone yet */
+        log_set_target(LOG_TARGET_CONSOLE); /* syslog will die if not gone yet */
         log_open();
 
         if (getpid() != 1) {


More information about the systemd-commits mailing list