From a21d146b60a1ad78c43034bfee849f6afb37a8ec Mon Sep 17 00:00:00 2001 From: Tobias Genannt Date: Sun, 31 Jan 2021 16:39:45 +0100 Subject: [PATCH] Is greater than or equal to is "-ge" and not "-gte". --- 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