Fix bug with batch mode
This commit is contained in:
parent
f0c85162c8
commit
aa0ad07cdd
1 changed files with 2 additions and 2 deletions
|
@ -221,7 +221,7 @@ ensure_connected()
|
||||||
then
|
then
|
||||||
# Use gpg to verify and strip the signature
|
# Use gpg to verify and strip the signature
|
||||||
echo_info "Verifying manifest 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"
|
echo_info "WARNING: Failed to verify signature from $URL"
|
||||||
[ "$CONF_REQUIRE_SIGN" = "true" ] && \
|
[ "$CONF_REQUIRE_SIGN" = "true" ] && \
|
||||||
echo_info "Exiting per gcrypt.requiresign" && exit 1
|
echo_info "Exiting per gcrypt.requiresign" && exit 1
|
||||||
|
@ -235,7 +235,7 @@ ensure_connected()
|
||||||
|
|
||||||
get_masterkey()
|
get_masterkey()
|
||||||
{
|
{
|
||||||
GET "$URL" masterkey 2>/dev/null | gpg -q --batch -d || :
|
GET "$URL" masterkey 2>/dev/null | gpg -q -d || :
|
||||||
}
|
}
|
||||||
|
|
||||||
do_capabilities()
|
do_capabilities()
|
||||||
|
|
Loading…
Reference in a new issue