sys/ssh - amend DownloadFile
This commit is contained in:
parent
487acaa917
commit
6aa0b46e03
|
@ -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")
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user