When doing a delete pass with do_progress output, get rid of the
authorWayne Davison <wayned@samba.org>
Tue, 5 Apr 2005 19:51:13 +0000 (19:51 +0000)
committerWayne Davison <wayned@samba.org>
Tue, 5 Apr 2005 19:51:13 +0000 (19:51 +0000)
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).

generator.c

index 98313e3..245690c 100644 (file)
@@ -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)