Browse Source

Invert logic

Bob Mottram 10 years ago
parent
commit
1b57cab2c0
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      src/freedombone-unignore

+ 1
- 1
src/freedombone-unignore View File

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