aboutsummaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorChris Buechler <cmb@pfsense.org>2016-05-07 04:51:24 -0500
committerChris Buechler <cmb@pfsense.org>2016-05-07 04:51:24 -0500
commit2b987a9e56bcaa5fd1111b539ff4e71493fd376a (patch)
treea8e8a25babbda4315aa596e8a76fecaeef3dee8e /config
parent59e9d5426697ceea8aabce311f6c61a9b24ad7d1 (diff)
downloadpfsense-packages-2b987a9e56bcaa5fd1111b539ff4e71493fd376a.tar.gz
pfsense-packages-2b987a9e56bcaa5fd1111b539ff4e71493fd376a.tar.bz2
pfsense-packages-2b987a9e56bcaa5fd1111b539ff4e71493fd376a.zip
Use safe_mkdir on squidguard TMP. Noticed by deajan on github PR 1244HEADmaster
Diffstat (limited to 'config')
-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 50835610..b6b90c70 100644
--- a/config/squidGuard/squidguard_configurator.inc
+++ b/config/squidGuard/squidguard_configurator.inc
@@ -1995,7 +1995,7 @@ function squidguard_ramdisk($enable)
# create temp ramdisk
# size 300Mb very nice for work with Archive < 30Mb
# this is size use physical RAM + Swap file
- mkdir(SQUIDGUARD_TMP);
+ safe_mkdir(SQUIDGUARD_TMP);
mwexec("/sbin/mdmfs -s {$ramsize}M md15 " . SQUIDGUARD_TMP);
mwexec("chmod 1777 " . SQUIDGUARD_TMP);
}