X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/blobdiff_plain/59d2cd5a7fd922e5e32c8fc9790c35a6343d91bc..bb4e4d889f51065dcef6f34d8ba4a80c051149a1:/cleanup.c diff --git a/cleanup.c b/cleanup.c index c0596413..279b5326 100644 --- a/cleanup.c +++ b/cleanup.c @@ -116,8 +116,10 @@ NORETURN void _exit_cleanup(int code, const char *file, int line) exit_code = unmodified_code = code; - if (progress_is_active && exit_code && !am_server) - rprintf(FINFO, "\n"); + if (progress_is_active) { + fputc('\n', stdout); + progress_is_active = 0; + } if (verbose > 3) { rprintf(FINFO,