no loop within loop

This commit is contained in:
rootzoll 2021-10-05 13:00:12 +02:00
parent a1ccef82a1
commit e1aa621109

View file

@ -199,7 +199,8 @@ do
#####################################
if [ "${lightning}" == "" ]; then syncedToChain=1; fi
if [ "${setupPhase}" == "done" ] && [ "${state}" == "ready" ] && [ "${syncedToChain}" != "1" ]; then
/home/admin/setup.scripts/eventBlockchainSync.sh ssh loop
/home/admin/setup.scripts/eventBlockchainSync.sh ssh
sleep 10
continue
fi