sys/ssh - amend DownloadFile

This commit is contained in:
Mahdi Abu Yasmine 2023-11-21 17:24:51 +01:00
parent 487acaa917
commit 6aa0b46e03

View File

@ -145,6 +145,8 @@ func (s *Ssh) DownloadFile(remoteFile string, localFile string, display bool, cl
if display { if display {
if alreadyDownload { if alreadyDownload {
echo.Cstyle("usageCom").Echo(" file integrity confirmed\n") echo.Cstyle("usageCom").Echo(" file integrity confirmed\n")
echo.State(alreadyDownload)
done = alreadyDownload
} else { } else {
echo.Cstyle("podFullName").Echo(" file seems corrupt, retry download\n") echo.Cstyle("podFullName").Echo(" file seems corrupt, retry download\n")
} }