From: rhatto Date: Mon, 9 Oct 2006 16:22:26 +0000 (+0000) Subject: added subscribe and send keys functions X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=5b1cf4665213bb52d3cff3bd8ad32d1346228110;p=firma.git added subscribe and send keys functions --- diff --git a/firma b/firma index 82169dc..4be8c03 100755 --- a/firma +++ b/firma @@ -1335,7 +1335,7 @@ function SendListPubkey { if [ -z "$1" ]; then echo >&2 "sendkey: missing argument: subscriber email address." return 1 - elif ! CheckValidEmail $1 + elif ! CheckValidEmail $1; then echo >&2 "sendkey: \"$1\" is not an email address." return 1 elif [[ -z "$($GPG_LIST_KEYS --fixed-list-mode "<$1>" 2> /dev/null | grep -v '^tru:')" ]]; then