From: rhatto Date: Wed, 11 Oct 2006 20:11:59 +0000 (+0000) Subject: admin via email now ignoring empty lines X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=9ddecbe3a4fd4904f3ebdb29dc5474d43531f3e5;p=firma.git admin via email now ignoring empty lines --- 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"