From: Wayne Davison Date: Sun, 17 Apr 2016 18:06:58 +0000 (-0700) Subject: Only output about new backup dirs when requested. X-Git-Tag: v3.1.3pre1~53 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=0f7db203fb4125e9ec8851bb0ff8878258fc4a05;p=thirdparty%2Frsync.git Only output about new backup dirs when requested. Fixes bug 11812. --- diff --git a/main.c b/main.c index 4613c962..e2b93c6e 100644 --- a/main.c +++ b/main.c @@ -865,7 +865,8 @@ static int do_recv(int f_in, int f_out, char *local_name) rprintf(FERROR, "Failed to stat %s: %s\n", backup_dir_buf, strerror(errno)); exit_cleanup(RERR_FILEIO); } - rprintf(FINFO, "(new) backup_dir is %s\n", backup_dir_buf); + if (INFO_GTE(BACKUP, 1)) + rprintf(FINFO, "(new) backup_dir is %s\n", backup_dir_buf); } else if (INFO_GTE(BACKUP, 1)) rprintf(FINFO, "backup_dir is %s\n", backup_dir_buf); if (backup_dir_len > 1)