pkglist: Don't exit with 0 if the stagings didn't calculcate lists
This commit is contained in:
parent
8c94506352
commit
378a00af51
@ -97,6 +97,9 @@ class CommandLineInterface(ToolBase.CommandLineInterface):
|
||||
stop_after_solve=opts.stop_after_solve)
|
||||
except MismatchedRepoException:
|
||||
logging.error("Failed to create weakremovers.inc due to mismatch in repos - project most likey started building again.")
|
||||
# for stagings we have to be strict on the exit value
|
||||
if scope == 'staging':
|
||||
return 1
|
||||
return 0
|
||||
|
||||
scope = opts.scope
|
||||
|
Loading…
x
Reference in New Issue
Block a user