Skip to content

Commit 2634fc3

Browse files
committed
[skipci] TMP: force failure
1 parent d0a209a commit 2634fc3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/scan-images.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ scan_image() {
167167

168168
# Run scan against image or SBOM, format output. If no results, delete files.
169169
echo "Scanning $imagename for vulnerabilities"
170-
if $scan_command >& "$scan.log"; then
170+
if ! $scan_command >& "$scan.log"; then
171171
rm -f "$scan"
172172
echo "${image}" >> image-scan-output/clean-images.txt
173173
elif [ ! -f "$scan" ]; then

0 commit comments

Comments
 (0)