summaryrefslogtreecommitdiff
path: root/src/systemctl
diff options
context:
space:
mode:
authorBenjamin Robin <benjarobin@users.noreply.github.com>2017-02-20 22:11:34 +0100
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2017-02-20 16:11:34 -0500
commit5955df2c40a9e05865e04f8bb51832f8d2659e1f (patch)
tree113b48b94bed983352fbe603c7ca5cd1ff89bffa /src/systemctl
parent04a0891038b486802615d8390e331b77eaabd449 (diff)
systemctl: Fix condition in start_special() (#5399)
Diffstat (limited to 'src/systemctl')
-rw-r--r--src/systemctl/systemctl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/systemctl/systemctl.c b/src/systemctl/systemctl.c
index 809a40ab71..2591ec0b69 100644
--- a/src/systemctl/systemctl.c
+++ b/src/systemctl/systemctl.c
@@ -3531,7 +3531,7 @@ static int start_special(int argc, char *argv[], void *userdata) {
return halt_now(a);
if (arg_force >= 1 &&
- (termination_action || IN_SET(ACTION_KEXEC, ACTION_EXIT)))
+ (termination_action || IN_SET(a, ACTION_KEXEC, ACTION_EXIT)))
r = trivial_method(argc, argv, userdata);
else {
/* First try logind, to allow authentication with polkit */