Quote PasswordC in Unlock Command

This commit is contained in:
George 2018-12-31 15:01:32 -08:00
parent ed748e433f
commit 75526d9ffe

View File

@ -126,7 +126,7 @@ do
# building REST command
passwordC=$(cat /root/lnd.autounlock.pwd)
sudo python /home/admin/config.scripts/lnd.unlock.py $passwordC
sudo python /home/admin/config.scripts/lnd.unlock.py '$passwordC'
#walletPasswordBase64=$(cat /root/lnd.autounlock.pwd | tr -d '\n' | base64 -w0)
#MACAROON_HEADER="Grpc-Metadata-macaroon: $(xxd -ps -u -c 1000 /mnt/hdd/lnd/data/chain/${network}/${chain}net/admin.macaroon)"