From 358b18b49d795757ff3992b8aeb2dbbd4c82ba3c Mon Sep 17 00:00:00 2001 From: Paul-Christian Volkmer Date: Fri, 2 Dec 2022 17:07:34 +0100 Subject: [PATCH] Fix maximal client config files to be created --- scripts/create-config.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/create-config.sh b/scripts/create-config.sh index 1535f8b..c4e2c03 100755 --- a/scripts/create-config.sh +++ b/scripts/create-config.sh @@ -35,7 +35,7 @@ while [[ -z $CLIENTS ]]; do echo -n "Number of clients: " read CLIENTS done -if [[ "240" > "$CLIENTS" ]]; then +if (( $CLIENTS > 240 )); then CLIENTS=240 fi echo " - Generating $CLIENTS client configs and client QR codes"