mirror of
https://github.com/aljazceru/btcpayserver-docker.git
synced 2026-02-07 13:04:24 +01:00
Always check ischroot to be sure docker is started
This commit is contained in:
@@ -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..."
|
||||
|
||||
Reference in New Issue
Block a user