Skip to content

Commit

Permalink
Fix logic to avoid exiting
Browse files Browse the repository at this point in the history
  • Loading branch information
kwinkunks committed Jan 10, 2024
1 parent d5f4fcd commit d296fd8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ci/testkomodo.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ start_integration_test () {
# Sometimes the chromium-browser has no matching chromedriver.
# Check for HTTP 404 error
download_url="https://edgedl.me.gvt1.com/edgedl/chrome/chrome-for-testing/$chromium_version/linux64/chromedriver-linux64.zip"
download_status=$((curl --head "$download_url" || true) | grep -oP 'HTTP/.+? 200 OK')
download_status=$(curl --head "$download_url" | grep -oP 'HTTP/.+? 200 OK' || true)

driver_version=$chromium_version
if [[ -z "$download_status" ]]; then
Expand Down

0 comments on commit d296fd8

Please sign in to comment.