diff options
author | Evgeny Vereshchagin <evvers@ya.ru> | 2016-03-29 11:04:04 +0000 |
---|---|---|
committer | Evgeny Vereshchagin <evvers@ya.ru> | 2016-03-29 11:13:55 +0000 |
commit | 5146c61928de60bbedb81c5f4f47bf06528722a5 (patch) | |
tree | 9a2087a798778da111d259c7f38844be3b69ae7b /src | |
parent | 9081e5ababbd6ecdc59cef58dd191857f8639961 (diff) |
core: ShutdownWatchdogSec=infinity disables the watchdog logic too
This is a follow-up for 947292eef
Diffstat (limited to 'src')
-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 e4e025e34e..56df32426a 100644 --- a/src/core/main.c +++ b/src/core/main.c @@ -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 |