Browse Source

removed error output

#146
rootzoll 7 years ago
parent
commit
8f91d19377
  1. 4
      home.admin/10setupBlitz.sh

4
home.admin/10setupBlitz.sh

@ -55,8 +55,8 @@ if [ ${lndRunning} -eq 1 ]; then
exit 0
fi
# check if blockchain still syncing
chainInfo=$(sudo -u bitcoin ${network}-cli getblockchaininfo | grep 'initialblockdownload')
# check if blockchain still syncing (during sync sometimes CLI returns with error at this point)
chainInfo=$(sudo -u bitcoin ${network}-cli getblockchaininfo 2>/dev/null | grep 'initialblockdownload')
chainSyncing=1
if [ ${#chainInfo} -gt 0 ];then
chainSyncing=$(echo "${chainInfo}" | grep "true" -c)

Loading…
Cancel
Save