Is greater than or equal to is "-ge" and not "-gte".

This commit is contained in:
Tobias Genannt 2021-01-31 16:39:45 +01:00
parent 6e7a64bd81
commit a21d146b60
1 changed files with 1 additions and 1 deletions

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