Commit 70117ca7 authored by Leigh B Stoller's avatar Leigh B Stoller
Browse files

Add --retry-connrefused to wget options.

parent f793770e
......@@ -516,7 +516,8 @@ sub DownLoadImage($$$$)
print "Downloading $image_url ...\n";
if (! open(GET, "| nice -15 $WGET --no-check-certificate ".
"--timeout=30 --waitretry=30 -q -O $localfile -i -")) {
"--timeout=30 --waitretry=30 --retry-connrefused ".
"-q -O $localfile -i -")) {
print STDERR "Cannot start $WGET\n";
return -1;
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