diff options
author | Matt Corallo <git@bluematt.me> | 2017-03-06 16:13:40 -0500 |
---|---|---|
committer | Matt Corallo <git@bluematt.me> | 2017-03-06 16:59:07 -0500 |
commit | f20e664f40be331012811128ce6ab5b0a6bdd8ba (patch) | |
tree | 591957afd801a5ee7853f27155c3363fa84fef0b /contrib/verify-commits/verify-commits.sh | |
parent | 72fb5158b1c8bd85c2bccc87ba814170a0095d34 (diff) |
Check gpg version before setting --weak-digest
Diffstat (limited to 'contrib/verify-commits/verify-commits.sh')
-rwxr-xr-x | contrib/verify-commits/verify-commits.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/verify-commits/verify-commits.sh b/contrib/verify-commits/verify-commits.sh index 55eccf588a..cbf59aba94 100755 --- a/contrib/verify-commits/verify-commits.sh +++ b/contrib/verify-commits/verify-commits.sh @@ -43,7 +43,7 @@ IS_SIGNED () { export BITCOIN_VERIFY_COMMITS_ALLOW_REVSIG=0 fi - if ! git -c "gpg.program=${DIR}/gpg.sh" verify-commit $1 > /dev/null 2>&1; then + if ! git -c "gpg.program=${DIR}/gpg.sh" verify-commit $1 > /dev/null; then return 1; fi |