From 36e0ea5b2b118d4949f17fa2cf8d9edff5829b9c Mon Sep 17 00:00:00 2001 From: "nicolas.dorier" Date: Tue, 25 Jun 2019 15:40:23 +0900 Subject: [PATCH] Always check ischroot to be sure docker is started --- btcpay-setup.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/btcpay-setup.sh b/btcpay-setup.sh index 4ef0514..d91603d 100755 --- a/btcpay-setup.sh +++ b/btcpay-setup.sh @@ -372,7 +372,7 @@ if ! [[ -x "$(command -v docker-compose)" ]]; then return fi -if $START && [[ -x "$(command -v ischroot)" ]] && ischroot; then +if [[ -x "$(command -v ischroot)" ]] && ischroot; then echo "chroot detected, running dockerd in background..." dockerd & echo "Waiting /var/run/docker.sock to be created..."