Things in if should be in quotations
This commit is contained in:
parent
a813751207
commit
b6718b3f16
1 changed files with 1 additions and 1 deletions
2
reset.sh
2
reset.sh
|
|
@ -14,7 +14,7 @@ PDOMAIN=$DOMAIN
|
||||||
envsubst '$PDOMAIN,$UPST' < nginx/conf.d/a-vars.conf.tmpl > nginx/conf.d/a-vars.conf
|
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..."
|
echo "Rotating IP..."
|
||||||
python3 smart-ipv6-rotator/smart-ipv6-rotator.py run --ipv6range=$IPV6_SUBNET
|
python3 smart-ipv6-rotator/smart-ipv6-rotator.py run --ipv6range=$IPV6_SUBNET
|
||||||
if [ $? -ne 0 ]; then
|
if [ $? -ne 0 ]; then
|
||||||
|
|
|
||||||
Reference in a new issue