X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=src%2Fsystemctl.c;h=01deafe2a13b1d0edc3bcfe8633343ccc1eab471;hb=d47b555bb6cabca024242e00b674da835938d286;hp=a9a975ee8188648ceb775d5b3ce0e6e1bc801986;hpb=fa776d8e962da9d90459e2f3e86a2a0c6366ee12;p=elogind.git diff --git a/src/systemctl.c b/src/systemctl.c index a9a975ee8..01deafe2a 100644 --- 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)