Invert logic

This commit is contained in:
Bob Mottram 2015-04-04 12:59:37 +01:00
parent 8efbfeacc1
commit 1b57cab2c0
1 changed files with 1 additions and 1 deletions

View File

@ -77,7 +77,7 @@ fi
# unignore an email address
if [ $EMAIL_ADDRESS ]; then
if ! grep -q "Ignore rule for $EMAIL_ADDRESS" $PM; then
if grep -q "Ignore rule for $EMAIL_ADDRESS" $PM; then
sed -i "/# Ignore rule for $EMAIL_ADDRESS/,/# End of ignore rule/d" $PM
fi
fi