mirror of
https://github.com/RsyncProject/rsync.git
synced 2026-05-05 13:34:45 -04:00
Output a backup message when verbose > 1 and we did a copy prior
to an --inplace update.
This commit is contained in:
@@ -572,6 +572,8 @@ prepare_to_open:
|
||||
if (f_copy >= 0) {
|
||||
close(f_copy);
|
||||
set_perms(backupptr, back_file, NULL, 0);
|
||||
if (verbose > 1)
|
||||
rprintf(FINFO, "backed up %s to %s\n", fname, backupptr);
|
||||
free(back_file);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user