mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-17 18:06:59 +02:00
.github: Fail curl in kernel job on server errors too
Co-authored-by: Kai Lüke <pothos@users.noreply.github.com>
This commit is contained in:
parent
09b9f6ee71
commit
ac0c89da45
@ -36,7 +36,7 @@ done
|
||||
|
||||
popd >/dev/null || exit
|
||||
|
||||
if ! curl -sA 'Chrome' -L 'http://www.google.com/search?hl=en&q=site%3Alwn.net+linux+'"${VERSION_NEW}" -o search.html; then
|
||||
if ! curl -sfA 'Chrome' -L 'http://www.google.com/search?hl=en&q=site%3Alwn.net+linux+'"${VERSION_NEW}" -o search.html; then
|
||||
echo 'curl failed'
|
||||
touch search.html
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user