Save : Use trysudo.

This commit is contained in:
Dmitry Voronin 2024-04-16 14:49:07 +03:00
parent 8981fc9e25
commit f20e5348ca
Signed by: voronind
SSH key fingerprint: SHA256:3kBb4iV2ahufEBNq+vFbUe4QYfHt98DHQjN7QaptY9k

View file

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