aboutsummaryrefslogtreecommitdiffstats
path: root/packages
diff options
context:
space:
mode:
authorSeth Mos <seth.mos@xs4all.nl>2006-12-19 22:30:11 +0000
committerSeth Mos <seth.mos@xs4all.nl>2006-12-19 22:30:11 +0000
commitcff0699efc5b71abc5a30ec6f7a8344ccc233691 (patch)
tree4ff331c986ba92bf1af944618360d805dfe6063c /packages
parent4c3f186ebd54de5fb6f5ac87c479b44c2c3c18b3 (diff)
downloadpfsense-packages-cff0699efc5b71abc5a30ec6f7a8344ccc233691.tar.gz
pfsense-packages-cff0699efc5b71abc5a30ec6f7a8344ccc233691.tar.bz2
pfsense-packages-cff0699efc5b71abc5a30ec6f7a8344ccc233691.zip
Fix the cache creation.
Diffstat (limited to 'packages')
-rw-r--r--packages/squid.inc3
1 files changed, 2 insertions, 1 deletions
diff --git a/packages/squid.inc b/packages/squid.inc
index 52afba14..91c4dc66 100644
--- a/packages/squid.inc
+++ b/packages/squid.inc
@@ -740,12 +740,13 @@ function squid_resync() {
}
if(!is_dir($disk_cache_location.'01/')) {
log_error($disk_cache_location." does not exist. Creating.");
- exec("/usr/local/sbin/squid -z");
+ mwexec("/usr/local/sbin/squid -z");
}
if (!is_service_running('squid')) {
log_error("Starting Squid");
+ mwexec("/usr/local/sbin/squid -z");
mwexec_bg("/usr/local/sbin/squid -D");
mwexec_bg("/usr/local/etc/rc.d/proxy_monitor.sh");
} else {