diff --git a/btcpay-setup.sh b/btcpay-setup.sh index 7051bae..d511827 100755 --- a/btcpay-setup.sh +++ b/btcpay-setup.sh @@ -331,7 +331,7 @@ fi cd "$(dirname $BTCPAY_ENV_FILE)" -if [ $OLD_BTCPAY_DOCKER_COMPOSE != $BTCPAY_DOCKER_COMPOSE ]; then +if [ "$OLD_BTCPAY_DOCKER_COMPOSE" != "$BTCPAY_DOCKER_COMPOSE" ]; then echo "Closing old docker-compose at $OLD_BTCPAY_DOCKER_COMPOSE..." docker-compose -f "$OLD_BTCPAY_DOCKER_COMPOSE" down fi