From a102a530ad594710dbf81b2f7eb8bfeb67b3ad80 Mon Sep 17 00:00:00 2001 From: Mayank Chhabra Date: Wed, 29 Jul 2020 13:28:33 +0530 Subject: [PATCH] Remove Tor container after generating hashed password (#60) --- configure-box.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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