Merge pull request #413 from tobiasge/fix-412

Is greater than or equal to is "-ge" and not "-gte".
This commit is contained in:
Tobias Genannt
2021-01-31 21:38:49 +01:00
committed by GitHub

View File

@ -7,7 +7,7 @@ load_configuration() {
MAX_WAIT=10
WAIT_COUNT=0
while [ ! -S $UNIT_SOCKET ]; do
if [ $WAIT_COUNT -gte $MAX_WAIT ]; then
if [ $WAIT_COUNT -ge $MAX_WAIT ]; then
echo "⚠️ No control socket found; configuration will not be loaded."
return 1
fi