Commit 89389a29 authored by Wayne Davison's avatar Wayne Davison

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

to an --inplace update.
parent 29fe3961
......@@ -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);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment