From ac7879037edb8a9a62f3d43d92ca3b953e126142 Mon Sep 17 00:00:00 2001 From: "nicolas.dorier" Date: Thu, 26 Jul 2018 23:16:02 +0900 Subject: [PATCH] fix script --- btcpay-setup.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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