mute display error

This commit is contained in:
rootzoll 2018-10-17 00:41:37 +02:00
parent 027e9dd74b
commit 696fa5af98

View File

@ -102,7 +102,7 @@ while :
# RaspiBlitz is full Setup
chain=$(sudo -u bitcoin ${network}-cli -datadir=/home/bitcoin/.${network} getblockchaininfo | jq -r '.chain')
chain=$(sudo -u bitcoin ${network}-cli -datadir=/home/bitcoin/.${network} getblockchaininfo 2>/dev/null | jq -r '.chain')
locked=$(sudo tail -n 1 /mnt/hdd/lnd/logs/${network}/${chain}net/lnd.log 2>/dev/null | grep -c unlock)
if [ ${locked} -gt 0 ]; then