mirror of
https://github.com/systemd/systemd.git
synced 2024-12-26 03:22:00 +03:00
core: ShutdownWatchdogSec=infinity disables the watchdog logic too
This is a follow-up for 947292eef
This commit is contained in:
parent
9081e5abab
commit
5146c61928
@ -2095,7 +2095,7 @@ finish:
|
||||
|
||||
assert(pos < ELEMENTSOF(command_line));
|
||||
|
||||
if (arm_reboot_watchdog && arg_shutdown_watchdog > 0) {
|
||||
if (arm_reboot_watchdog && arg_shutdown_watchdog > 0 && arg_shutdown_watchdog != USEC_INFINITY) {
|
||||
char *e;
|
||||
|
||||
/* If we reboot let's set the shutdown
|
||||
|
Loading…
Reference in New Issue
Block a user