From aa0ad07cddf4aa51c707daff07fe66e60146e154 Mon Sep 17 00:00:00 2001 From: root Date: Thu, 14 Feb 2013 00:00:00 +0000 Subject: [PATCH] Fix bug with batch mode --- git-remote-gcrypt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/git-remote-gcrypt b/git-remote-gcrypt index 94860bd..22b4caf 100755 --- a/git-remote-gcrypt +++ b/git-remote-gcrypt @@ -221,7 +221,7 @@ ensure_connected() then # Use gpg to verify and strip the signature echo_info "Verifying manifest signature" - STRIPDATA=$(printf "%s" "$MANIFESTDATA" | gpg || { + STRIPDATA=$(printf "%s" "$MANIFESTDATA" | gpg --batch || { echo_info "WARNING: Failed to verify signature from $URL" [ "$CONF_REQUIRE_SIGN" = "true" ] && \ echo_info "Exiting per gcrypt.requiresign" && exit 1 @@ -235,7 +235,7 @@ ensure_connected() get_masterkey() { - GET "$URL" masterkey 2>/dev/null | gpg -q --batch -d || : + GET "$URL" masterkey 2>/dev/null | gpg -q -d || : } do_capabilities()