Commit 82225a16 authored by John Thiltges's avatar John Thiltges Committed by Andrea Sciaba
Browse files

Catch GitLab outages in org.cms.WN-basic

In fetch-from-web-GitLab, add `--fail` flag to curl, giving a a non-zero return code for failed downloads.
parent b005db98
......@@ -53,7 +53,7 @@ if [ $useSquid == 1 ] ; then
cmd="curl --request GET --header \"PRIVATE-TOKEN: kuD9s3WrDGNXZ8BvxFV2\" $url -o $file"
cmd="curl --fail --request GET --header \"PRIVATE-TOKEN: kuD9s3WrDGNXZ8BvxFV2\" $url -o $file"
echo "$cmd > $wgetOutput 2>&1" > $cmdFile
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment