aboutsummaryrefslogtreecommitdiffstats
path: root/packages/squidGuard
diff options
context:
space:
mode:
Diffstat (limited to 'packages/squidGuard')
-rw-r--r--packages/squidGuard/squidguard_configurator.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/squidGuard/squidguard_configurator.inc b/packages/squidGuard/squidguard_configurator.inc
index d3813c56..746a1674 100644
--- a/packages/squidGuard/squidguard_configurator.inc
+++ b/packages/squidGuard/squidguard_configurator.inc
@@ -414,9 +414,9 @@ function sg_check_system() {
if (!file_exists($db_dir)) {
mwexec("mkdir -p $db_dir");
$sg_addlog("Create db dir $db_dir");
- // set access right
- set_file_access($db_dir, OWNER_NAME, 0755);
}
+ // set access right
+ set_file_access($db_dir, OWNER_NAME, 0755);
}
unset($db_dir);
}