fix exception raising
This commit is contained in:
parent
2a880b5033
commit
e2a91dd8ae
@ -168,7 +168,7 @@ def pkg_upgrade():
|
||||
raise sau.errors.UpgradeError(f"Kernel package {name} has an update, but system upgrade is disabled")
|
||||
|
||||
if not do_rebuild:
|
||||
sau.errors.UpgradeError('Some packages require manual attention, did not upgrade')
|
||||
raise sau.errors.UpgradeError('Some packages require manual attention, did not upgrade')
|
||||
|
||||
cmd = [ EMERGE_PATH, '--color', 'n', '-uDNq', '--with-bdeps=y', '@world' ]
|
||||
ret, out, err = sau.helpers.exec_cmd(cmd, timeout=72000)
|
||||
|
Loading…
Reference in New Issue
Block a user