Skip to content

Commit 8d6493e

Browse files
ocaisaboegel
andauthored
Trigger on any non-zero exit code
Co-authored-by: Kenneth Hoste <[email protected]>
1 parent 992b11d commit 8d6493e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

check_missing_installations.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ exit_code=${PIPESTATUS[0]}
4747

4848
ok_msg="Command 'eb --missing ...' succeeded, analysing output..."
4949
fail_msg="Command 'eb --missing ...' failed, check log '${eb_missing_out}'"
50-
if [ "$exit_code" -eq 1 ] && [ ! -z $pr_exceptions ]; then
50+
if [ "$exit_code" -ne 0 ] && [ ! -z $pr_exceptions ]; then
5151
# We might have failed due to unmerged PRs. Try to make exceptions for --from-pr added in this PR
5252
# to software-layer, and see if then it passes. If so, we can report a more specific fail_msg
5353
# Note that if no --from-pr's were used in this PR, $pr_exceptions will be empty and we might as

0 commit comments

Comments
 (0)