fixed some things
This commit is contained in:
parent
08aaf1cab3
commit
71b82de86b
@ -2,7 +2,7 @@
|
||||
|
||||
# Copyright (c) 2022 Emma Tebibyte
|
||||
# SPDX-License-Identifier: AGPL-3.0-or-later
|
||||
|
||||
#
|
||||
# Protonkey is free software: you can redistribute it and/or modify it
|
||||
# under the terms of the GNU Affero General Public License as published by the
|
||||
# Free Software Foundation, either version 3 of the License, or (at your
|
||||
@ -34,7 +34,7 @@ done
|
||||
URL="https://api.protonmail.ch/pks/lookup?op=get&search=$1"
|
||||
RESPONSE="$(curl -s "$URL")"
|
||||
|
||||
if ! printf "%s\n" "$RESPONSE" | gpg --import >/dev/null 2>&1; then
|
||||
if ! printf "%s\n" "$RESPONSE"; then
|
||||
printf "%s\n" "$RESPONSE" 1>&2
|
||||
exit 76 # sysexits(3) EX_PROTOCOL
|
||||
else
|
||||
|
Reference in New Issue
Block a user