diff --git a/home.admin/00mainMenu.sh b/home.admin/00mainMenu.sh index 0990984..38e95cc 100755 --- a/home.admin/00mainMenu.sh +++ b/home.admin/00mainMenu.sh @@ -113,7 +113,7 @@ waitUntilChainNetworkIsReady() boxwidth=40 dialog --backtitle "RaspiBlitz ${localip} - Welcome" --infobox "$l1$l2$l3" 5 ${boxwidth} else - locked=$(lncli --chain=${network} --network=${chain}net getinfo 2>&1 | grep -c unlock) + locked=$(sudo -u bitcoin /usr/local/bin/lncli --chain=${network} --network=${chain}net getinfo 2>&1 | grep -c unlock) if [ ${locked} -gt 0 ]; then ./AAunlockLND.sh echo "please wait ... update to next screen can be slow"