forked from ALHP/ALHP.GO
don't wait forever if package to purge was not found
This commit is contained in:
1
main.go
1
main.go
@@ -595,6 +595,7 @@ func (b *BuildManager) repoWorker() {
|
|||||||
log.Debug(string(res))
|
log.Debug(string(res))
|
||||||
if err != nil && cmd.ProcessState.ExitCode() == 1 {
|
if err != nil && cmd.ProcessState.ExitCode() == 1 {
|
||||||
log.Debugf("Deleteing package %s failed: Package not found in database", pkg.Pkgbase)
|
log.Debugf("Deleteing package %s failed: Package not found in database", pkg.Pkgbase)
|
||||||
|
b.repoWG.Done()
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user