Commit 01c2a345 authored by Zach van Rijn's avatar Zach van Rijn
Browse files

Fix omission of 'curl --fail'.

parent 93495b69
......@@ -129,8 +129,8 @@ sec2str ()
do_fresh ()
{
# some mirrors may be partial
if ! curl -s -m 2 -o ${1}.beat ${2}/adelie/heartbeat; then
curl -s -m 2 -o ${1}.beat ${2}/heartbeat;
if ! curl -fs -m 2 -o ${1}.beat ${2}/adelie/heartbeat; then
curl -fs -m 2 -o ${1}.beat ${2}/heartbeat;
where=${2}/heartbeat;
else
where=${2}/adelie/heartbeat;
......
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