diff --git a/btcpay-down.sh b/btcpay-down.sh index 71b3c25..4b4aa24 100755 --- a/btcpay-down.sh +++ b/btcpay-down.sh @@ -5,6 +5,6 @@ cd "`dirname $BTCPAY_ENV_FILE`" docker-compose -f $BTCPAY_DOCKER_COMPOSE down -t "${COMPOSE_HTTP_TIMEOUT:-180}" -if ! [ $? -eq 0 ] then +if ! [ $? -eq 0 ]; then docker-compose -f $BTCPAY_DOCKER_COMPOSE down fi