diff --git a/home.admin/_background.sh b/home.admin/_background.sh index cf2eed8..9299c9e 100644 --- a/home.admin/_background.sh +++ b/home.admin/_background.sh @@ -126,8 +126,9 @@ do # building REST command passwordC=$(sudo cat /root/lnd.autounlock.pwd) - passinsert="'${passwordC}'" - sudo python /home/admin/config.scripts/lnd.unlock.py ${passinsert} + command="sudo python /home/admin/config.scripts/lnd.unlock.py '${passwordC}'" + echo "command(${$command})" + unlockResult=$($command) else echo "lncli says not locked"