aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xfirma6
1 files changed, 4 insertions, 2 deletions
diff --git a/firma b/firma
index 2ea20f2..1b0d7c2 100755
--- a/firma
+++ b/firma
@@ -1820,8 +1820,10 @@ function EmailListAdministration {
# message was sent by an admin
#+then, parse and process admin tasks
echo $DECRYPTED_MESSAGE | while read command; do
- AdminLog "Command> $command"
- ListAdministration $command
+ if [ ! -z "$command" ]; then
+ AdminLog "Command> $command"
+ ListAdministration $command
+ fi
done
# TODO: send encrypted
MESSAGE_BODY="$ADMIN_MESSAGE"