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
commit 70b38d52b9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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