Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emulab
emulab-devel
Commits
b1628c28
Commit
b1628c28
authored
Jan 22, 2015
by
Leigh B Stoller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add retry options to wget command.
parent
70117ca7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
tbsetup/fetchtar.proxy.in
tbsetup/fetchtar.proxy.in
+4
-2
No files found.
tbsetup/fetchtar.proxy.in
View file @
b1628c28
#!/usr/bin/perl -w
#
# Copyright (c) 2003-201
4
University of Utah and the Flux Group.
# Copyright (c) 2003-201
5
University of Utah and the Flux Group.
#
# {{{EMULAB-LICENSE
#
...
...
@@ -192,7 +192,9 @@ if (! $pid) {
# Give parent a chance to react.
sleep
(
1
);
open
(
GET
,
"
| nice -15
$WGET
--no-check-certificate -q -O
$localfile
-i -
")
open
(
GET
,
"
| nice -15
$WGET
--no-check-certificate
"
.
"
--timeout=30 --waitretry=30 --retry-connrefused
"
.
"
-q -O
$localfile
-i -
")
or
die
("
Cannot start
$WGET
\n
");
print
GET
"
$URL
\n
";
if
(
!
close
(
GET
))
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment