Invert logic
This commit is contained in:
parent
8efbfeacc1
commit
1b57cab2c0
|
@ -77,7 +77,7 @@ fi
|
||||||
|
|
||||||
# unignore an email address
|
# unignore an email address
|
||||||
if [ $EMAIL_ADDRESS ]; then
|
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
|
sed -i "/# Ignore rule for $EMAIL_ADDRESS/,/# End of ignore rule/d" $PM
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue