Output a backup message when verbose > 1 and we did a copy prior

to an --inplace update.
This commit is contained in:
Wayne Davison
2004-09-20 19:47:59 +00:00
parent 29fe3961ab
commit 89389a29ef

View 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);
}