From: Wayne Davison Date: Tue, 5 Apr 2005 19:51:13 +0000 (+0000) Subject: When doing a delete pass with do_progress output, get rid of the X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/commitdiff_plain/a06e2b7cab2f16e77e3403bbe8d756806ece186f When doing a delete pass with do_progress output, get rid of the temporary output (it used to always be covered up by output in older versions, but it might be followed by a newline in newer versions). --- diff --git a/generator.c b/generator.c index 98313e36..245690c3 100644 --- a/generator.c +++ b/generator.c @@ -291,6 +291,8 @@ static void do_delete_pass(struct file_list *flist) delete_in_dir(flist, fbuf, file); } + if (do_progress && !am_server) + rprintf(FINFO, " \r"); } static int unchanged_attrs(struct file_struct *file, STRUCT_STAT *st)