Temporary files should die as soon as possible.

This commit is contained in:
Frank Denis
2012-09-26 11:35:48 +02:00
parent 7b976aaa33
commit 3234989005
2 changed files with 2 additions and 2 deletions
@@ -3,7 +3,7 @@
. ./common.inc
if [ ! -s "$BLACKLIST_DOMAINS_TMP_FILE" ]; then
rm -f "$BLACKLIST_DOMAINS_FILE"
rm -f "$BLACKLIST_DOMAINS_FILE" "$BLACKLIST_DOMAINS_TMP_FILE"
exec ./switch-blacklists-on.sh
fi
@@ -3,7 +3,7 @@
. ./common.inc
if [ ! -s "$BLACKLIST_IPS_TMP_FILE" ]; then
rm -f "$BLACKLIST_IPS_FILE"
rm -f "$BLACKLIST_IPS_FILE" "$BLACKLIST_IPS_TMP_FILE"
exec ./switch-blacklists-on.sh
fi