diff options
Diffstat (limited to 'src/core')
-rw-r--r-- | src/core/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/main.c b/src/core/main.c index c6294c2f74..8de3d4753d 100644 --- a/src/core/main.c +++ b/src/core/main.c @@ -1396,7 +1396,7 @@ static int become_shutdown( assert(pos < ELEMENTSOF(command_line)); - if (streq(shutdown_verb, "reboot") && + if (STR_IN_SET(shutdown_verb, "reboot", "kexec") && arg_shutdown_watchdog > 0 && arg_shutdown_watchdog != USEC_INFINITY) { |