reduce error output

This commit is contained in:
Christian Rotzoll
2019-04-28 16:25:21 +02:00
parent 1c5e095cb4
commit 19ee877f8d

View File

@@ -88,11 +88,11 @@ if [ "${state}" = "presync" ]; then
echo "(needs to get downloaded fresh during setup)" echo "(needs to get downloaded fresh during setup)"
sudo rm -f -r /mnt/hdd/bitcoin sudo rm -f -r /mnt/hdd/bitcoin
else else
echo "********************************************" echo "************************************"
echo "Stopping pre-sync ... pls wait (up to 1min)" echo "Preparing ... pls wait (up to 1min) "
echo "********************************************" echo "************************************"
sudo -u root bitcoin-cli -conf=/home/admin/assets/bitcoin.conf stop sudo -u root bitcoin-cli -conf=/home/admin/assets/bitcoin.conf stop 2>/dev/null
echo "bitcoind called to stop .." echo "Calling presync to finish up .."
sleep 50 sleep 50
fi fi