Save : Use sudo for rcp.

This commit is contained in:
Dmitry Voronin 2024-03-13 04:32:41 +03:00
parent b4c4d7064d
commit b0953217e8

View file

@ -12,7 +12,7 @@ function save() {
done
_info "Uploading..."
try rcp "${files[@]}" home:/storage/cold_1/backup/save/
try sudo rcp "${files[@]}" home:/storage/cold_1/backup/save/
_info "Cleaning..."
archive_prune 2> /dev/null