From 05c2e120fe40a566f98da2c62f5ec0145c4f283e Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Tue, 16 Jun 2015 07:58:12 +0100 Subject: [PATCH] quotes --- src/freedombone-ignore | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/freedombone-ignore b/src/freedombone-ignore index bfe2194d..a9f05a01 100755 --- a/src/freedombone-ignore +++ b/src/freedombone-ignore @@ -78,7 +78,7 @@ MUTTRC=/home/$MYUSERNAME/.muttrc PM=/home/$MYUSERNAME/.procmailrc # Ignore if subject line contains text -if [ $SUBJECT_TEXT ]; then +if [ "$SUBJECT_TEXT" ]; then if ! grep -q "Ignore rule for $SUBJECT_TEXT" $PM; then echo "# Ignore rule for $SUBJECT_TEXT" >> $PM echo ":0" >> $PM