From 9ddecbe3a4fd4904f3ebdb29dc5474d43531f3e5 Mon Sep 17 00:00:00 2001 From: rhatto Date: Wed, 11 Oct 2006 20:11:59 +0000 Subject: admin via email now ignoring empty lines --- firma | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'firma') 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" -- cgit v1.2.3