summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/systemctl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/systemctl.c b/src/systemctl.c
index a9a975ee81..01deafe2a1 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)