mirror of
https://github.com/systemd/systemd.git
synced 2025-01-12 13:18:14 +03:00
Merge pull request #2911 from evverx/shutdown-watchdog-infinity
core: ShutdownWatchdogSec=infinity disables the watchdog logic too
This commit is contained in:
commit
a9447e0e48
@ -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