summaryrefslogtreecommitdiff
path: root/src/core/main.c
diff options
context:
space:
mode:
authorEvgeny Vereshchagin <evvers@ya.ru>2016-03-28 17:17:32 +0000
committerEvgeny Vereshchagin <evvers@ya.ru>2016-03-28 17:17:32 +0000
commit947292eef49546db1379cfdf3a63bf7396d4a835 (patch)
tree618c232abe0aa08ca2acb02e73d9f87f23198728 /src/core/main.c
parent09541e49ebd17b41482e447dd8194942f39788c0 (diff)
core: RuntimeWatchdogSec=infinity disables the watchdog logic
Diffstat (limited to 'src/core/main.c')
-rw-r--r--src/core/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/main.c b/src/core/main.c
index 78701805ea..e4e025e34e 100644
--- a/src/core/main.c
+++ b/src/core/main.c
@@ -1664,7 +1664,7 @@ int main(int argc, char *argv[]) {
test_usr();
}
- if (arg_running_as == MANAGER_SYSTEM && arg_runtime_watchdog > 0)
+ if (arg_running_as == MANAGER_SYSTEM && arg_runtime_watchdog > 0 && arg_runtime_watchdog != USEC_INFINITY)
watchdog_set_timeout(&arg_runtime_watchdog);
if (arg_timer_slack_nsec != NSEC_INFINITY)