From b6718b3f16c7e0e9768ed9d8d4958a3d785c3bee Mon Sep 17 00:00:00 2001 From: Minecon724 Date: Sat, 12 Apr 2025 12:20:14 +0200 Subject: [PATCH] Things in if should be in quotations --- reset.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reset.sh b/reset.sh index d43284a..228b8ec 100755 --- a/reset.sh +++ b/reset.sh @@ -14,7 +14,7 @@ PDOMAIN=$DOMAIN envsubst '$PDOMAIN,$UPST' < nginx/conf.d/a-vars.conf.tmpl > nginx/conf.d/a-vars.conf -if [ -n $IPV6_SUBNET ]; then +if [ -n "$IPV6_SUBNET" ]; then echo "Rotating IP..." python3 smart-ipv6-rotator/smart-ipv6-rotator.py run --ipv6range=$IPV6_SUBNET if [ $? -ne 0 ]; then