Fix watchdog

master
andryyy 2017-09-20 11:05:23 +02:00
parent a8fb1d3f4f
commit e70d5b9206
1 changed files with 1 additions and 1 deletions

View File

@ -8,7 +8,7 @@ PARENT_PID=$$
BACKGROUND_TASKS=()
# Skip watchdog?
if [[ "${USE_WATCHDOG}" =~ ^([nN][oO])+$ ]]; then
if [[ "${USE_WATCHDOG}" =~ ^([nN][oO]|[nN])+$ ]]; then
echo "Skipping watchdog, sleeping..."
sleep 365d
exit 0