mc mirror should not stop incase of errors (#2624)

Fixes #2623
This commit is contained in:
Praveen raj Mani
2018-12-12 10:48:48 -08:00
committed by kannappanr
parent 1bb64f0bf0
commit 69f967b3f3
-1
View File
@@ -293,7 +293,6 @@ func (mj *mirrorJob) startStatus() {
if !isErrIgnored(sURLs.Error) {
errorIf(sURLs.Error.Trace(sURLs.SourceContent.URL.String()),
fmt.Sprintf("Failed to copy `%s`.", sURLs.SourceContent.URL.String()))
os.Exit(1)
}
} else {
// When sURLs.SourceContent is nil, we know that we have an error related to removing