aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--config/squidGuard/squidguard_configurator.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/squidGuard/squidguard_configurator.inc b/config/squidGuard/squidguard_configurator.inc
index 7db0f8ff..c9dc7aed 100644
--- a/config/squidGuard/squidguard_configurator.inc
+++ b/config/squidGuard/squidguard_configurator.inc
@@ -578,7 +578,7 @@ function sg_remove_unused_db_entries()
# black list entries
# * worked only with 'blacklist entries list file - else may be deleted black list entry
- if (SQUIDGUARD_BLK_FILELISTPATH) {
+ if (file_exists(SQUIDGUARD_BLK_FILELISTPATH)) {
$file_for_del = array();
# load blk entries