mirror of
https://github.com/raspiblitz/raspiblitz.git
synced 2025-09-28 04:26:28 +02:00
fix typo
This commit is contained in:
@@ -379,8 +379,8 @@ if [ "$1" = "import-gui" ]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
# if there is no blockchain yet - fallback to syncing
|
# if there is no blockchain yet - fallback to syncing
|
||||||
if [ $(sudo ls /mnt/hdd/bitcoin/ | grep -c blocks) -eq 0 ]; then
|
if [ $(sudo ls /mnt/hdd/bitcoin/ 2>/dev/null | grep -c blocks) -eq 0 ]; then
|
||||||
echo "Sync Blockchain Data -->"
|
echo "Setting Blockchain Data to resync ..."
|
||||||
sudo mkdir /mnt/hdd/${network} 2>/dev/null
|
sudo mkdir /mnt/hdd/${network} 2>/dev/null
|
||||||
sudo -u bitcoin mkdir /mnt/hdd/${network}/blocks 2>/dev/null
|
sudo -u bitcoin mkdir /mnt/hdd/${network}/blocks 2>/dev/null
|
||||||
sudo -u bitcoin mkdir /mnt/hdd/${network}/chainstate 2>/dev/null
|
sudo -u bitcoin mkdir /mnt/hdd/${network}/chainstate 2>/dev/null
|
||||||
|
Reference in New Issue
Block a user