fix autounlock in background

This commit is contained in:
rootzoll 2019-01-18 00:33:00 +01:00
parent cf39728ca4
commit 8d4acb3dbc

View file

@ -126,7 +126,8 @@ do
# building REST command
passwordC=$(cat /root/lnd.autounlock.pwd)
sudo python /home/admin/config.scripts/lnd.unlock.py '$passwordC'
passinsert="'${passwordC}'"
sudo python /home/admin/config.scripts/lnd.unlock.py $passinsert
else
echo "lncli says not locked"