]> err.no Git - systemd/commitdiff
shutdown: log to console by default
authorLennart Poettering <lennart@poettering.net>
Wed, 13 Oct 2010 23:27:31 +0000 (01:27 +0200)
committerLennart Poettering <lennart@poettering.net>
Wed, 13 Oct 2010 23:27:31 +0000 (01:27 +0200)
src/shutdown.c

index 176327bf109825d7001a4737dec36237fbcb437b..be3fff41c71f2fdf74f9f64bd04f5ebdd80e860b 100644 (file)
@@ -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) {