Temporary files should die as soon as possible.
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user