Merge pull request #413 from tobiasge/fix-412
Is greater than or equal to is "-ge" and not "-gte".
This commit is contained in:
commit
70b38d52b9
@ -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