aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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
}