mirror of
https://github.com/raspiblitz/raspiblitz.git
synced 2025-09-27 20:16:22 +02:00
fix broken pipe
This commit is contained in:
@@ -155,8 +155,6 @@ waitUntilChainNetworkIsReady()
|
||||
fi
|
||||
lndSynced=$(sudo -u bitcoin /usr/local/bin/lncli --chain=${network} --network=${chain}net getinfo 2>/dev/null | jq -r '.synced_to_chain' | grep -c true)
|
||||
if [ ${lndSynced} -eq 0 ]; then
|
||||
echo "test"
|
||||
read key
|
||||
./80scanLND.sh
|
||||
else
|
||||
# everything is ready - return from loop
|
||||
@@ -199,10 +197,16 @@ if [ ${setupStep} -eq 0 ]; then
|
||||
|
||||
elif [ ${setupStep} -lt 100 ]; then
|
||||
|
||||
# see function above
|
||||
if [ ${setupStep} -lt 80 ]; then
|
||||
70initLND.sh
|
||||
exit 0
|
||||
fi
|
||||
|
||||
# see function above
|
||||
if [ ${setupStep} -gt 59 ]; then
|
||||
waitUntilChainNetworkIsReady
|
||||
fi
|
||||
fi
|
||||
|
||||
# continue setup
|
||||
BACKTITLE="${hostname} / ${network} / ${chain}"
|
||||
@@ -211,9 +215,6 @@ elif [ ${setupStep} -lt 100 ]; then
|
||||
OPTIONS+=(CONTINUE "Continue Setup of your RaspiBlitz")
|
||||
HEIGHT=10
|
||||
|
||||
echo "CONTINUE"
|
||||
reaf key
|
||||
|
||||
else
|
||||
|
||||
# see function above
|
||||
|
Reference in New Issue
Block a user