From bc80c7c69d9803a9ea346514130765f778334b7e Mon Sep 17 00:00:00 2001 From: rootzoll Date: Fri, 18 Jan 2019 01:36:00 +0100 Subject: [PATCH] fix auto-unlock --- home.admin/_background.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/home.admin/_background.sh b/home.admin/_background.sh index 027f3ec..b6f6823 100644 --- a/home.admin/_background.sh +++ b/home.admin/_background.sh @@ -128,7 +128,8 @@ do passwordC=$(sudo cat /root/lnd.autounlock.pwd) command="sudo python /home/admin/config.scripts/lnd.unlock.py '${passwordC}'" echo "command(${command})" - unlockResult=$($command) + bash -c "${$command}" + #unlockResult=$($command) else echo "lncli says not locked"