From 901eb7a67d72744ba9845a92ee9f819d244db95e Mon Sep 17 00:00:00 2001 From: rootzoll Date: Fri, 24 Aug 2018 02:48:48 +0200 Subject: [PATCH] debug output --- home.admin/10setupBlitz.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/home.admin/10setupBlitz.sh b/home.admin/10setupBlitz.sh index f9fee18..b4d9b86 100755 --- a/home.admin/10setupBlitz.sh +++ b/home.admin/10setupBlitz.sh @@ -32,6 +32,8 @@ if [ ${lndRunning} -eq 1 ]; then locked=0 # only when a wallet exists - it can be locked if [ ${walletExists} -eq 1 ];then + echo "lnd wallet exists ... checking if locked" + sleep 2 locked=$(sudo tail -n 1 /mnt/hdd/lnd/logs/${network}/${chain}net/lnd.log 2>/dev/null | grep -c unlock) fi if [ ${locked} -gt 0 ]; then