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