From 71b82de86b0adaa4164426cfd2bcf906274c1306 Mon Sep 17 00:00:00 2001 From: emma Date: Wed, 8 Mar 2023 23:54:56 -0500 Subject: [PATCH] fixed some things --- protonkey | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/protonkey b/protonkey index 9a11300..abbfdf8 100755 --- a/protonkey +++ b/protonkey @@ -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