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