mirror of
https://github.com/raspiblitz/raspiblitz.git
synced 2025-09-30 14:06:08 +02:00
Merge pull request #1512 from rootzoll/suppress-source-error
Update _bootstrap.sh to hide error when sourcing bitcoin.conf
This commit is contained in:
@@ -595,7 +595,7 @@ sed -i "s/^message=.*/message='waiting login'/g" ${infoFile}
|
||||
loaded=$(sudo systemctl status bitcoind | grep -c 'loaded')
|
||||
if [ ${loaded} -gt 0 ]; then
|
||||
sed -i "s/^network=.*/network=bitcoin/g" ${infoFile}
|
||||
source /mnt/hdd/bitcoin/bitcoin.conf
|
||||
source /mnt/hdd/bitcoin/bitcoin.conf >/dev/null 2>&1
|
||||
if [ ${testnet} -gt 0 ]; then
|
||||
sed -i "s/^chain=.*/chain=test/g" ${infoFile}
|
||||
else
|
||||
|
Reference in New Issue
Block a user