1
0
Fork 0
mirror of https://github.com/Ysurac/openmptcprouter-feeds.git synced 2025-03-09 15:40:03 +00:00

Better fix

This commit is contained in:
Ycarus 2018-08-14 22:46:31 +02:00
parent 00b493c5db
commit 1070fbaa0f

View file

@ -209,8 +209,12 @@ while true; do
fi
fi
tries=$((tries - 1))
#_restart
OMR_TRACKER_HOST="${OMR_TRACKER_HOSTS%% *}"
[ "$OMR_TRACKER_HOST" = "$OMR_TRACKER_HOSTS" ] || {
OMR_TRACKER_HOSTS="${OMR_TRACKER_HOSTS#* } $OMR_TRACKER_HOST"
}
OMR_TRACKER_TIMEOUT=$((OMR_TRACKER_TIMEOUT * 2))
_restart
done
fi
fi