From 0f7db203fb4125e9ec8851bb0ff8878258fc4a05 Mon Sep 17 00:00:00 2001 From: Wayne Davison Date: Sun, 17 Apr 2016 11:06:58 -0700 Subject: [PATCH] Only output about new backup dirs when requested. Fixes bug 11812. --- main.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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) -- 2.34.1