mirror of
https://github.com/raspiblitz/raspiblitz.git
synced 2025-03-28 18:52:11 +01:00
no ok message on failed custom update
This commit is contained in:
parent
48208cd1d3
commit
ec816ad9f3
@ -526,7 +526,9 @@ By default a reboot is advised.
|
||||
sleep 8
|
||||
;;
|
||||
CUSTOM)
|
||||
sudo -u admin /home/admin/config.scripts/bitcoin.update.sh custom
|
||||
if ! sudo -u admin /home/admin/config.scripts/bitcoin.update.sh custom; then
|
||||
exit 1
|
||||
else
|
||||
whiptail \
|
||||
--title " Bitcoin Core update " \
|
||||
--yes-button "Reboot" \
|
||||
@ -548,6 +550,7 @@ By default a reboot is advised.
|
||||
sudo systemctl start bitcoind
|
||||
exit 0
|
||||
fi
|
||||
fi
|
||||
sleep 8
|
||||
;;
|
||||
esac
|
||||
|
Loading…
x
Reference in New Issue
Block a user