@@ -4,7 +4,7 @@
POLL_INTERVAL=${POLL_INTERVAL:-60}
-if [ ${POLL_INTERVAL} gt 0 ]; then
+if [ ${POLL_INTERVAL} -gt 0 ]; then
(
while true; do
[ -f poll_data.sh ] && echo "Polling data: $(date)" && ./poll_data.sh