aboutsummaryrefslogtreecommitdiffstats
path: root/packages/squid.inc
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2006-09-05 14:28:37 +0000
committerScott Ullrich <sullrich@pfsense.org>2006-09-05 14:28:37 +0000
commitdb4e2078da574a50ffa115ba41febc22a9bd1ce4 (patch)
treeae93945f1a1211220fe72bd1e3711e2af9163df6 /packages/squid.inc
parent3c5c730ff72287c17abfefa15f844ee87743fb28 (diff)
downloadpfsense-packages-db4e2078da574a50ffa115ba41febc22a9bd1ce4.tar.gz
pfsense-packages-db4e2078da574a50ffa115ba41febc22a9bd1ce4.tar.bz2
pfsense-packages-db4e2078da574a50ffa115ba41febc22a9bd1ce4.zip
Enhance checks to make sure /var/squid/cache/01/01 exists. if not, run squid -z
Diffstat (limited to 'packages/squid.inc')
-rw-r--r--packages/squid.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/squid.inc b/packages/squid.inc
index 1336a9fa..ac4ebf55 100644
--- a/packages/squid.inc
+++ b/packages/squid.inc
@@ -649,7 +649,7 @@ function squid_resync() {
file_put_contents(SQUID_CONFBASE . '/squid.conf', $conf);
- if(!is_dir("/var/squid/cache")) {
+ if(!is_dir("/var/squid/cache/01/01")) {
log_error("/var/squid/cache does not exist. Creating.");
exec("/usr/local/sbin/squid -z");
}