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
(from parent 1:
e34b615
)
systemctl: don't actually reboot/poweroff/halt if only a wtmp update is requested
author
Kay Sievers
<kay.sievers@vrfy.org>
Thu, 8 Jul 2010 19:30:32 +0000
(21:30 +0200)
committer
Lennart Poettering
<lennart@poettering.net>
Thu, 8 Jul 2010 19:36:40 +0000
(21:36 +0200)
src/systemctl.c
patch
|
blob
|
history
diff --git
a/src/systemctl.c
b/src/systemctl.c
index a9a975ee8188648ceb775d5b3ce0e6e1bc801986..01deafe2a13b1d0edc3bcfe8633343ccc1eab471 100644
(file)
--- a/
src/systemctl.c
+++ b/
src/systemctl.c
@@
-3156,7
+3156,7
@@
static int start_with_fallback(DBusConnection *bus) {
static int halt_main(DBusConnection *bus) {
int r;
- if (!arg_immediate)
+ if (!arg_
dry && !arg_
immediate)
return start_with_fallback(bus);
if (!arg_no_wtmp)