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
(parent:
85ed27f
)
shutdown: log to console by default
author
Lennart Poettering
<lennart@poettering.net>
Wed, 13 Oct 2010 23:27:31 +0000
(
01:27
+0200)
committer
Lennart Poettering
<lennart@poettering.net>
Wed, 13 Oct 2010 23:27:31 +0000
(
01:27
+0200)
src/shutdown.c
patch
|
blob
|
history
diff --git
a/src/shutdown.c
b/src/shutdown.c
index 176327bf109825d7001a4737dec36237fbcb437b..be3fff41c71f2fdf74f9f64bd04f5ebdd80e860b 100644
(file)
--- 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) {