mirror of
https://github.com/raspiblitz/raspiblitz.git
synced 2025-04-11 13:20:56 +02:00
fix typo
This commit is contained in:
parent
cd1519f95c
commit
060021648a
@ -379,8 +379,8 @@ if [ "$1" = "import-gui" ]; then
|
||||
fi
|
||||
|
||||
# if there is no blockchain yet - fallback to syncing
|
||||
if [ $(sudo ls /mnt/hdd/bitcoin/ | grep -c blocks) -eq 0 ]; then
|
||||
echo "Sync Blockchain Data -->"
|
||||
if [ $(sudo ls /mnt/hdd/bitcoin/ 2>/dev/null | grep -c blocks) -eq 0 ]; then
|
||||
echo "Setting Blockchain Data to resync ..."
|
||||
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}/chainstate 2>/dev/null
|
||||
|
Loading…
x
Reference in New Issue
Block a user