add debug

This commit is contained in:
Christian Rotzoll 2019-07-01 01:47:29 +02:00
parent 889c27f710
commit b385771f2c

View file

@ -182,6 +182,7 @@ waitUntilChainNetworkIsReady()
fi
if [ ${#clienterror} -gt 0 ]; then
echo "clienterror(${clienterror})"
# analyse LOGS for possible reindex
reindex=$(sudo cat /mnt/hdd/${network}/debug.log 2>/dev/null | grep -c 'Please restart with -reindex or -reindex-chainstate to recover')