Skip to content

Commit

Permalink
yum-cron: fail when sigCheckPkg() returns 2. BZ 1052440
Browse files Browse the repository at this point in the history
  • Loading branch information
Zdenek Pavlas committed Jan 14, 2014
1 parent 300fb06 commit 9df69e5
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions yum-cron/yum-cron.py
Original file line number Diff line number Diff line change
Expand Up @@ -547,6 +547,9 @@ def installUpdates(self, emit):
except yum.Errors.YumBaseError, errmsg:
self.emitUpdateFailed([str(errmsg)])
return False
else:
self.emitUpdateFailed(err)
return False

del self.ts
self.initActionTs() # make a new, blank ts to populate
Expand Down

0 comments on commit 9df69e5

Please sign in to comment.