From b9483bd16be3a9ea39e4460716e7085e6f8d3051 Mon Sep 17 00:00:00 2001 From: Wouter Verhelst Date: Mon, 3 Feb 2025 11:55:35 +0100 Subject: [PATCH] Don't print things unless explicitly asked for --- lib/SReview/Files/Collection/SFTP.pm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/SReview/Files/Collection/SFTP.pm b/lib/SReview/Files/Collection/SFTP.pm index eb234a1..2f7a348 100644 --- a/lib/SReview/Files/Collection/SFTP.pm +++ b/lib/SReview/Files/Collection/SFTP.pm @@ -110,7 +110,9 @@ sub store_file { } substr($buf, 0, $rc) = ''; } - print "."; + if($self->download_verbose) { + print "."; + } } return $self->SUPER::store_file; }