From: Wayne Davison Date: Sat, 19 Jan 2008 19:20:42 +0000 (-0800) Subject: Output (BATCH ONLY) rather than (DRY RUN) for --only-write-batch. X-Git-Tag: v3.0.0pre9~31 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=641dc0c51e7c1196f160d8a76ba7f9c441bbc7ef;p=thirdparty%2Frsync.git Output (BATCH ONLY) rather than (DRY RUN) for --only-write-batch. --- diff --git a/main.c b/main.c index ba470481..65af80b9 100644 --- a/main.c +++ b/main.c @@ -278,7 +278,7 @@ static void output_summary(void) rprintf(FINFO, "total size is %s speedup is %.2f%s\n", human_num(stats.total_size), (double)stats.total_size / (total_written+total_read), - dry_run ? " (DRY RUN)" : ""); + write_batch < 0 ? " (BATCH ONLY)" : dry_run ? " (DRY RUN)" : ""); } fflush(stdout);