summaryrefslogtreecommitdiff
path: root/plugins/curl
diff options
context:
space:
mode:
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: