Output a backup message when verbose > 1 and we did a copy prior
[rsync/rsync.git] / generator.c
index 860a7e6..cc61c4c 100644 (file)
@@ -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);
        }