diff --git a/configure-box.sh b/configure-box.sh index 59d0977..8d0c758 100755 --- a/configure-box.sh +++ b/configure-box.sh @@ -91,7 +91,7 @@ echo "Pulling Docker images" docker-compose pull echo "Adding tor password" -SAVE_PASSWORD=`docker run getumbrel/tor:v0.4.1.9 --quiet --hash-password "${RPCPASS}"` +SAVE_PASSWORD=$(docker run --rm getumbrel/tor:v0.4.1.9 --quiet --hash-password "${RPCPASS}") # Add a new line first echo >> tor/torrc echo "HashedControlPassword ${SAVE_PASSWORD}" >> tor/torrc