# HG changeset patch # User Sascha L. Teichmann # Date 1553534238 -3600 # Node ID 054f5d61452d9993a6cd0d5e170fad87e096dcd1 # Parent db1052bc162abffe03ceade5fcbc6e0fd35dce81 Import queue: Cleanup up debris after an import in all cases if we are not going to retry it. diff -r db1052bc162a -r 054f5d61452d pkg/imports/queue.go --- a/pkg/imports/queue.go Mon Mar 25 17:31:56 2019 +0100 +++ b/pkg/imports/queue.go Mon Mar 25 18:17:18 2019 +0100 @@ -619,7 +619,7 @@ } var errCleanup error - if retry { // cleanup debris + if !retry { // cleanup debris if errCleanup = survive(job.CleanUp)(); errCleanup != nil { feedback.Error("error cleanup: %v", errCleanup) }