Invert logic
This commit is contained in:
parent
2be0611b4e
commit
bb6425a687
|
@ -79,7 +79,7 @@ PM=/home/$MYUSERNAME/.procmailrc
|
|||
|
||||
# unignore if subject line contains text
|
||||
if [ $SUBJECT_TEXT ]; then
|
||||
if ! grep -q "Ignore rule for $SUBJECT_TEXT" $PM; then
|
||||
if grep -q "Ignore rule for $SUBJECT_TEXT" $PM; then
|
||||
sed -i "/# Ignore rule for $SUBJECT_TEXT/,/# End of ignore rule/d" $PM
|
||||
fi
|
||||
fi
|
||||
|
|
Loading…
Reference in New Issue