summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2011-01-28 11:58:21 -0600
committerDan McGee <dan@archlinux.org>2011-01-28 12:00:00 -0600
commitf95080884ca4b9a952ef02057c0c62cf2228f79e (patch)
treec1df8ec6c34abce5e4364c36d3b04f81d0a5f266
parenta97e28205a462a7433a8d0e7061cd911ea3d8c4c (diff)
downloadpacman-f95080884ca4b9a952ef02057c0c62cf2228f79e.tar.xz
Enable failure on server error for curl download command
This will make a 404 a silent failure that returns an error code rather than 0 as was previously done, screwing up the logic used by pacman/libalpm to allow moving onto the next server on a failed download. Fixes FS#22630. Signed-off-by: Dan McGee <dan@archlinux.org>
-rw-r--r--etc/pacman.conf.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/pacman.conf.in b/etc/pacman.conf.in
index 32071196..087e21c9 100644
--- a/etc/pacman.conf.in
+++ b/etc/pacman.conf.in
@@ -17,7 +17,7 @@ HoldPkg = pacman glibc
# If upgrades are available for these packages they will be asked for first
SyncFirst = pacman
#XferCommand = /usr/bin/wget --passive-ftp -c -O %o %u
-#XferCommand = /usr/bin/curl -C - %u > %o
+#XferCommand = /usr/bin/curl -C - -f %u > %o
#CleanMethod = KeepInstalled
Architecture = auto