$GPG_NOBATCH --import
return_code=$?
if [ "$return_code" == "0" ]; then
- AdminLog "successfully subscribed user $1"
+ AdminLog "subscription: success"
fi
else
AdminLog "subscribe: stdin option only valid in the interactive (command-line) mode"
$GPG --import < $2
return_code=$?
if [ "$return_code" == "0" ]; then
- AdminLog "successfully subscribed user $1"
+ AdminLog "subscription: success"
fi
else
echo >&2 "subscribe: cant add subscribers from $1: no such file or directory"
$GPG_NOBATCH --keyserver $keyserver $method $*
return_code=$?
if [ "$return_code" == "0" ]; then
- AdminLog "successfully subscribed user $1"
+ AdminLog "subscription: success"
fi
fi
else