summaryrefslogtreecommitdiff
path: root/plugins/curl
diff options
context:
space:
mode:
authorTimo Weingärtner <timo@tiwe.de>2015-02-17 19:56:01 +0100
committerTimo Weingärtner <timo@tiwe.de>2015-02-17 19:56:01 +0100
commit940b40dc566ea6a8370c58185d3705d405f97c00 (patch)
treee85e9e001676d8f872d497e385fc8df8d6e9cbc2 /plugins/curl
parent340dd6ac7ce13d695018f570431ff1a5f2108b04 (diff)
parent5759da2f6316fccc56d722e06d6e4bdda26251be (diff)
downloadopenssh-known-hosts-940b40dc566ea6a8370c58185d3705d405f97c00.tar.gz
Merge tag '0.6.2' into debian
release 0.6.2
Diffstat (limited to 'plugins/curl')
-rwxr-xr-xplugins/curl4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/curl b/plugins/curl
index 93be854..9c47601 100755
--- a/plugins/curl
+++ b/plugins/curl
@@ -12,12 +12,12 @@
set -e
if [ "${SIGURL}" ]; then
- curl -Rz "./current" -m 300 ${CURL_OPTIONS} -o new.sig "${SIGURL}" -o new "${URL}"
+ curl -fRz "./current" -m 300 ${CURL_OPTIONS} -o new.sig "${SIGURL}" -o new "${URL}"
[ -e new ] || exit 0
gpgv --keyring "${KEYRING}" --status-fd 2 new.sig || exit 1
# return 1 because it's not clear what other codes may used
else
- curl -Rz "./current" -m 300 ${CURL_OPTIONS} -o new "${URL}"
+ curl -fRz "./current" -m 300 ${CURL_OPTIONS} -o new "${URL}"
fi
# vim:set ft=sh: