mirror of
https://github.com/rootzoll/raspiblitz.git
synced 2025-02-24 14:51:03 +01:00
blitz.copychain: sudo to remove root owned file
This commit is contained in:
parent
f78606a42e
commit
e84b5cd6e5
1 changed files with 1 additions and 1 deletions
|
@ -352,7 +352,7 @@ if [ "$1" = "source" ]; then
|
|||
do
|
||||
|
||||
# transfere blockchain data
|
||||
rm -f ./transferred.rsync
|
||||
sudo rm -f ./transferred.rsync
|
||||
sudo sshpass -p "${targetPassword}" rsync -avhW -e 'ssh -o StrictHostKeyChecking=no -p 22' --info=progress2 --log-file=./transferred.rsync ./chainstate ./blocks bitcoin@${targetIP}:/mnt/hdd/bitcoin
|
||||
|
||||
# check result
|
||||
|
|
Loading…
Add table
Reference in a new issue