diff options
-rw-r--r-- | src/Daemon/CrashWatcher.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Daemon/CrashWatcher.cpp b/src/Daemon/CrashWatcher.cpp index e48b60b2..bd45c5f9 100644 --- a/src/Daemon/CrashWatcher.cpp +++ b/src/Daemon/CrashWatcher.cpp @@ -325,7 +325,7 @@ void CCrashWatcher::SetUpCron() sS = it_c->first; nS = atoi(sS.c_str()); - nS = nS < 0 ? 0 : nS; + nS = nS <= 0 ? 1 : nS; timeout = nS; } |