csomh / rpms / rsync

Forked from rpms/rsync 3 years ago
Clone

Blame SOURCES/rsync-3.1.2-verbose.patch

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