shutdown: log to console by default

This commit is contained in:
Lennart Poettering
2010-10-14 01:27:31 +02:00
parent 85ed27f699
commit 2ca1b42253
+1 -1
View 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) {