From: Wayne Davison Date: Mon, 20 Sep 2004 19:47:59 +0000 (+0000) Subject: Output a backup message when verbose > 1 and we did a copy prior X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/commitdiff_plain/89389a29ef3f124c799e65dfe95fa092717101a7 Output a backup message when verbose > 1 and we did a copy prior to an --inplace update. --- diff --git a/generator.c b/generator.c index 860a7e6d..cc61c4cf 100644 --- a/generator.c +++ b/generator.c @@ -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); }