瀏覽代碼

Invert logic

Bob Mottram 10 年之前
父節點
當前提交
bb6425a687
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1
    1
      src/freedombone-unignore

+ 1
- 1
src/freedombone-unignore 查看文件

@@ -79,7 +79,7 @@ PM=/home/$MYUSERNAME/.procmailrc
79 79
 
80 80
 # unignore if subject line contains text
81 81
 if [ $SUBJECT_TEXT ]; then
82
-    if ! grep -q "Ignore rule for $SUBJECT_TEXT" $PM; then
82
+    if grep -q "Ignore rule for $SUBJECT_TEXT" $PM; then
83 83
         sed -i "/# Ignore rule for $SUBJECT_TEXT/,/# End of ignore rule/d" $PM
84 84
     fi
85 85
 fi