Skip to content

Commit c1ecfc0

Browse files
authored
Merge pull request #261 from redhat-appstudio/1.6-fail-acs-image-check
Handle empty severe_violations variable
2 parents 327f407 + 678e6c8 commit c1ecfc0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rhtap/acs-image-check.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ function rox-image-check() {
6464
)
6565

6666
# If roxctl image check exited with non-zero code and it is not because of policy violations, report error
67-
if [ "$severe_violations" -eq 0 ]; then
67+
if [[ "$severe_violations" -eq 0 ]]; then
6868
exit "$ROXCTL_CHECK_STATUS"
6969
fi
7070
}

0 commit comments

Comments
 (0)