diff --git a/home.admin/00raspiblitz.sh b/home.admin/00raspiblitz.sh index 2544eeb..e9dd94a 100755 --- a/home.admin/00raspiblitz.sh +++ b/home.admin/00raspiblitz.sh @@ -168,7 +168,7 @@ waitUntilChainNetworkIsReady() if [ "${network}" = "litecoin" ]; then minSize=20000000000 fi - isSyncing=$(sudo ls -la /mnt/hdd/${network}/blocks/.selfsync | grep -c '.selfsync') + isSyncing=$(sudo ls -la /mnt/hdd/${network}/blocks/.selfsync 2>/dev/null | grep -c '.selfsync') blockchainsize=$(sudo du -shbc /mnt/hdd/${network} 2>/dev/null | head -n1 | awk '{print $1;}') if [ ${#blockchainsize} -gt 0 ]; then if [ ${blockchainsize} -lt ${minSize} ]; then