]> gitweb.fluxo.info Git - firma.git/commitdiff
admin via email now ignoring empty lines
authorrhatto <rhatto>
Wed, 11 Oct 2006 20:11:59 +0000 (20:11 +0000)
committerrhatto <rhatto>
Wed, 11 Oct 2006 20:11:59 +0000 (20:11 +0000)
firma

diff --git a/firma b/firma
index 2ea20f2a8064992e9fd3c55b17371dff1cbd7850..1b0d7c24ab166f4629d284d25122c63e7ad7a1aa 100755 (executable)
--- 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"