diff options
-rwxr-xr-x | plugins/curl | 2 | ||||
-rwxr-xr-x | plugins/rsync | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/plugins/curl b/plugins/curl index 989891a..b9dd2cb 100755 --- a/plugins/curl +++ b/plugins/curl @@ -14,7 +14,7 @@ set -e if [ "${SIGURL}" ]; then 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 + gpgv --keyring "${KEYRING}" --status-fd 2 new.sig new || exit 1 # return 1 because it's not clear what other codes may used else curl -fRz "./current" -m 300 ${CURL_OPTIONS} -o new "${URL}" diff --git a/plugins/rsync b/plugins/rsync index 2ff5c1a..1c2cae2 100755 --- a/plugins/rsync +++ b/plugins/rsync @@ -15,7 +15,7 @@ rsync -vt --timeout=300 "${URL}" new if [ "${SIGURL}" ]; then rsync -vt --timeout=300 "${SIGURL}" new.sig - gpgv --keyring "${KEYRING}" --status-fd 2 new.sig || exit 1 + gpgv --keyring "${KEYRING}" --status-fd 2 new.sig new || exit 1 # return 1 because it's not clear what other codes may used fi |