diff options
Diffstat (limited to 'src/Daemon/CrashWatcher.cpp')
| -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 e48b60b..bd45c5f 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; } |
