From 378a00af51d4515d89367becb1357df87bd27b1f Mon Sep 17 00:00:00 2001 From: Stephan Kulow Date: Fri, 11 Mar 2022 15:42:56 +0100 Subject: [PATCH] pkglist: Don't exit with 0 if the stagings didn't calculcate lists --- pkglistgen/cli.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkglistgen/cli.py b/pkglistgen/cli.py index fda68f908..5d82a5232 100755 --- a/pkglistgen/cli.py +++ b/pkglistgen/cli.py @@ -97,6 +97,9 @@ def solve_project(project, scope): 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