aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrhatto <rhatto>2006-10-12 00:50:47 +0000
committerrhatto <rhatto>2006-10-12 00:50:47 +0000
commit97236a2cc216589262b7ddc23e2d7e82fb0a9f66 (patch)
treeadaaac920e6dc0d4e56daeb24fcbd0309b88c59e
parent92487aa042cb1afbef98cb483908e817cd9a6333 (diff)
downloadfirma-97236a2cc216589262b7ddc23e2d7e82fb0a9f66.tar.gz
firma-97236a2cc216589262b7ddc23e2d7e82fb0a9f66.tar.bz2
GetSubscribersInfo change back; AdminLog small update
-rwxr-xr-xfirma6
1 files changed, 4 insertions, 2 deletions
diff --git a/firma b/firma
index f62d794..ce57e19 100755
--- a/firma
+++ b/firma
@@ -1704,6 +1704,7 @@ function GetSubscribersInfo {
local key
local keys
local keyid
+ local output
if [ "$1" == "help" ]; then
AdminLog "usage: info [all|emails|help]"
@@ -1719,7 +1720,8 @@ function GetSubscribersInfo {
for key in $keys; do
keyid="$($GPG_LIST_KEYS --with-fingerprint $1 2> /dev/null | grep ^fpr | cut -d : -f 10)"
if [ ! -z "$keyid" ]; then
- AdminLog `$GPG --list-keys $key`
+ output="`$GPG --list-keys $key`"
+ AdminLog "$output"
fi
done
@@ -1789,7 +1791,7 @@ function AdminLog {
if [ "$MODE" == "admin-interactive" ]; then
echo >&2 "$*"
else
- echo $*
+ echo "$*"
fi
}