diff --git a/gpgtool b/gpgtool index 38be839..792a23c 100755 --- a/gpgtool +++ b/gpgtool @@ -243,7 +243,9 @@ extend () { send () { zparseopts -D -E -- -keyserver=servers: - [[ -z "${servers}" ]] && server=GPGTOOLKEYSERVERS + [[ -z "${servers}" ]] && servers=GPGTOOLKEYSERVERS + + [[ -z "${servers}" ]] && echo "No key servers given, aborting …" && exit 1 for id in $@ do