don't wait forever if package to purge was not found

This commit is contained in:
2021-07-09 14:50:25 +02:00
parent e124e7f359
commit 9a0dc87659

View File

@@ -595,6 +595,7 @@ func (b *BuildManager) repoWorker() {
log.Debug(string(res))
if err != nil && cmd.ProcessState.ExitCode() == 1 {
log.Debugf("Deleteing package %s failed: Package not found in database", pkg.Pkgbase)
b.repoWG.Done()
continue
}