diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2006-09-05 14:28:37 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2006-09-05 14:28:37 +0000 |
commit | db4e2078da574a50ffa115ba41febc22a9bd1ce4 (patch) | |
tree | ae93945f1a1211220fe72bd1e3711e2af9163df6 | |
parent | 3c5c730ff72287c17abfefa15f844ee87743fb28 (diff) | |
download | pfsense-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
-rw-r--r-- | packages/squid.inc | 2 |
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"); } |