From 9c074445babaaa673b75d25489f0ccf04c4dffc3 Mon Sep 17 00:00:00 2001 From: Sven Grewe Date: Wed, 3 Feb 2021 13:16:11 +0100 Subject: [PATCH] Update launch-netbox.sh -gte is not a valid bash arithmetic binary operator. For greater or equal -ge should be used. --- docker/launch-netbox.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker/launch-netbox.sh b/docker/launch-netbox.sh index d0e52e3..0551be4 100755 --- a/docker/launch-netbox.sh +++ b/docker/launch-netbox.sh @@ -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