Skip to content

Commit

Permalink
Remove double quote in integer comparison
Browse files Browse the repository at this point in the history
  • Loading branch information
brandboat authored and bk201 committed Mar 29, 2024
1 parent 9ff0bb3 commit 2689ff5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/archive-images-lists.sh
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ for prev_ver in $(echo "$previous_versions"); do

echo "Download image lists tarball from $image_lists_url"
curl -fL "$image_lists_url" -o "$WORKING_DIR"/image-lists.tar.gz || ret=$?
if [ "$ret" -ne 0 ]; then
if [ $ret -ne 0 ]; then
echo "Cannot download image list tarball for version $prev_ver, skip it"
continue
fi
Expand Down

0 comments on commit 2689ff5

Please sign in to comment.