mirror of
https://github.com/zeek/zeek.git
synced 2025-10-15 21:18:20 +00:00
Add --retry to curl invocations in update-traces
This commit is contained in:
parent
5118e7f86b
commit
107f4fdc99
1 changed files with 2 additions and 2 deletions
4
testing/external/scripts/update-traces
vendored
4
testing/external/scripts/update-traces
vendored
|
@ -53,7 +53,7 @@ cat $cfg | while read line; do
|
|||
|
||||
# Get the fingerprint file.
|
||||
echo Getting $safe_url.md5sum ...
|
||||
eval "$proxy curl $auth -fsS --anyauth $url.md5sum -o $fp.tmp" || {
|
||||
eval "$proxy curl $auth -fsS --anyauth --retry 2 $url.md5sum -o $fp.tmp" || {
|
||||
echo "Error: Could not get $safe_url.md5sum"
|
||||
exit 1
|
||||
}
|
||||
|
@ -71,7 +71,7 @@ cat $cfg | while read line; do
|
|||
|
||||
if [ "$download" = "1" ]; then
|
||||
echo Getting $safe_url ...
|
||||
eval "$proxy curl $auth -f --anyauth $url -o $file" || {
|
||||
eval "$proxy curl $auth --retry 2 -f --anyauth $url -o $file" || {
|
||||
echo "Error: Could not get $safe_url"
|
||||
exit 1
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue