summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2005-06-13 01:15:00 +0000
committerRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2005-06-13 01:15:00 +0000
commitcad5df834a2ac44904b79e66d79ac5c97bad9a53 (patch)
tree47aefee825652ed2c6abbe65721abba574e41bd8
parentff2319ac3a8e306137d04bce8232a9da62c649f5 (diff)
downloadurpmi-cad5df834a2ac44904b79e66d79ac5c97bad9a53.tar
urpmi-cad5df834a2ac44904b79e66d79ac5c97bad9a53.tar.gz
urpmi-cad5df834a2ac44904b79e66d79ac5c97bad9a53.tar.bz2
urpmi-cad5df834a2ac44904b79e66d79ac5c97bad9a53.tar.xz
urpmi-cad5df834a2ac44904b79e66d79ac5c97bad9a53.zip
Timeout on all network operations when using wget
-rw-r--r--urpm/download.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/urpm/download.pm b/urpm/download.pm
index 38ee23ed..eef8f0f9 100644
--- a/urpm/download.pm
+++ b/urpm/download.pm
@@ -217,7 +217,7 @@ sub sync_wget {
($options->{callback} ? ("--progress=bar:force", "-o", "-") :
$options->{quiet} ? "-q" : @{[]}),
"--retr-symlinks",
- "--connect-timeout=$CONNECT_TIMEOUT",
+ "--timeout=$CONNECT_TIMEOUT",
"-NP",
$options->{dir},
@_