Skip to content

Commit 191dd4e

Browse files
authored
Merge pull request #260 from tnevrlka/fail-acs-image-check
Handle empty severe_violations variable
2 parents f681a73 + 5d18b9a commit 191dd4e

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)