fixed error with rsync

This commit is contained in:
edwin170 2023-04-09 14:07:56 -04:00 committed by GitHub
parent 3d1976996a
commit aae31d6704
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -42,7 +42,7 @@ remote_cmd() {
remote_cp() {
sleep 1
if [ "$downgrade" ]; then
"$dir"/sshpass -p 'alpine' rsync -rvz -e 'ssh -p 6413' --progress "$@"
"$dir"/sshpass -p 'alpine' rsync -rvz -e 'ssh -p 6413' "$@"
else
"$dir"/sshpass -p 'alpine' scp -r -o StrictHostKeyChecking=no -P6413 $@
fi