miscellaneous cleanups and fixes

This commit is contained in:
James Shubin
2016-08-30 04:41:13 -04:00
parent 636f2a36b1
commit 6794aff77c
13 changed files with 35 additions and 26 deletions

View File

@@ -415,7 +415,7 @@ loop:
} else {
return fmt.Errorf("PackageKit: Error: %v", signal.Body)
}
case _ = <-TimeAfterOrBlock(timeout):
case <-TimeAfterOrBlock(timeout):
if finished {
log.Println("PackageKit: Timeout: InstallPackages: Waiting for 'Destroy'")
return nil // got tired of waiting for Destroy