Browse Source

fix minSize blockchain check

v1.1
Christian Rotzoll 6 years ago
parent
commit
6ae5184a68
  1. 4
      home.admin/00mainMenu.sh

4
home.admin/00mainMenu.sh

@ -157,8 +157,8 @@ waitUntilChainNetworkIsReady()
blockchainsize=$(sudo du -shbc /mnt/hdd/${network} | head -n1 | awk '{print $1;}')
echo "blockchainsize(${blockchainsize})"
if [ ${#blockchainsize} -gt 0 ]; then
if [ ${blockchainsize} -lt ${minsize} ]; then
echo "Mission Blockchain Data (<${minsize}) ..."
if [ ${blockchainsize} -lt ${minSize} ]; then
echo "Mission Blockchain Data (<${minSize}) ..."
clienterror="missing blockchain"
sleep 3
fi

Loading…
Cancel
Save