Save : Use sudo for rcp.
This commit is contained in:
parent
b4c4d7064d
commit
b0953217e8
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue