mirror of
https://github.com/rootzoll/raspiblitz.git
synced 2025-02-24 14:51:03 +01:00
add debug
This commit is contained in:
parent
889c27f710
commit
b385771f2c
1 changed files with 1 additions and 0 deletions
|
@ -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')
|
||||
|
|
Loading…
Add table
Reference in a new issue