diff --git a/src/freedombone-unignore b/src/freedombone-unignore index d8248d95..c2dffbb6 100755 --- a/src/freedombone-unignore +++ b/src/freedombone-unignore @@ -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