Is greater than or equal to is "-ge" and not "-gte".
This commit is contained in:
parent
6e7a64bd81
commit
a21d146b60
@ -7,7 +7,7 @@ load_configuration() {
|
|||||||
MAX_WAIT=10
|
MAX_WAIT=10
|
||||||
WAIT_COUNT=0
|
WAIT_COUNT=0
|
||||||
while [ ! -S $UNIT_SOCKET ]; do
|
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."
|
echo "⚠️ No control socket found; configuration will not be loaded."
|
||||||
return 1
|
return 1
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user