Commit ecace09a authored by Franco Fichtner's avatar Franco Fichtner

firewall: only retry in cron mode

parent ef1dc387
......@@ -44,7 +44,11 @@ while [ ${RETRIES} -gt 0 ]; do
break
fi
RETRIES=$((RETRIES-1))
if [ "${COMMAND}" = "cron" ]; then
RETRIES=$((RETRIES - 1))
else
RETRIES=0
fi
done
if [ ${RETRIES} -eq 0 ]; then
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment