diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2006-08-01 21:11:26 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2006-08-01 21:11:26 +0000 |
commit | 56a261aba5c4cb20c317a410fb39ea648479dc5a (patch) | |
tree | b0b165e579d79e31c7017fc81edd0737977fd766 | |
parent | 61853db8d68cc49d3f32856ecc48026a66741261 (diff) | |
download | pfsense-packages-56a261aba5c4cb20c317a410fb39ea648479dc5a.tar.gz pfsense-packages-56a261aba5c4cb20c317a410fb39ea648479dc5a.tar.bz2 pfsense-packages-56a261aba5c4cb20c317a410fb39ea648479dc5a.zip |
Log when we run squid -z
-rw-r--r-- | packages/squid.inc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/packages/squid.inc b/packages/squid.inc index ccd4caf5..563620e9 100644 --- a/packages/squid.inc +++ b/packages/squid.inc @@ -649,8 +649,10 @@ function squid_resync() { file_put_contents(SQUID_CONFBASE . '/squid.conf', $conf); - if(!is_dir("/var/squid/cache")) + if(!is_dir("/var/squid/cache")) { + log_error("/var/squid/cache does not exist. Creating."); exec("/usr/local/sbin/squid -z"); + } restart_service('squid'); |