csomh / rpms / rsync

Forked from rpms/rsync 3 years ago
Clone

Blame SOURCES/rsync-3.1.2-verbose.patch

eab3d9
diff --git a/main.c b/main.c
eab3d9
index 4613c962..e2b93c6e 100644
eab3d9
--- a/main.c
eab3d9
+++ b/main.c
eab3d9
@@ -865,7 +865,8 @@ static int do_recv(int f_in, int f_out, char *local_name)
eab3d9
 				rprintf(FERROR, "Failed to stat %s: %s\n", backup_dir_buf, strerror(errno));
eab3d9
 				exit_cleanup(RERR_FILEIO);
eab3d9
 			}
eab3d9
-			rprintf(FINFO, "(new) backup_dir is %s\n", backup_dir_buf);
eab3d9
+			if (INFO_GTE(BACKUP, 1))
eab3d9
+				rprintf(FINFO, "(new) backup_dir is %s\n", backup_dir_buf);
eab3d9
 		} else if (INFO_GTE(BACKUP, 1))
eab3d9
 			rprintf(FINFO, "backup_dir is %s\n", backup_dir_buf);
eab3d9
 		if (backup_dir_len > 1)