From 6aa0b46e0383ee126ab70da474039b31d51747fb Mon Sep 17 00:00:00 2001 From: mahdi Date: Tue, 21 Nov 2023 17:24:51 +0100 Subject: [PATCH] sys/ssh - amend DownloadFile --- ssh/ssh.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ssh/ssh.go b/ssh/ssh.go index 5875ea0..39ca35f 100644 --- a/ssh/ssh.go +++ b/ssh/ssh.go @@ -145,6 +145,8 @@ func (s *Ssh) DownloadFile(remoteFile string, localFile string, display bool, cl if display { if alreadyDownload { echo.Cstyle("usageCom").Echo(" file integrity confirmed\n") + echo.State(alreadyDownload) + done = alreadyDownload } else { echo.Cstyle("podFullName").Echo(" file seems corrupt, retry download\n") }