aboutsummaryrefslogtreecommitdiffstats
path: root/config/squid3
diff options
context:
space:
mode:
authordoktornotor <notordoktor@gmail.com>2015-09-09 11:33:33 +0200
committerdoktornotor <notordoktor@gmail.com>2015-09-09 11:33:33 +0200
commitbca9c324b12ca25bd87b4390852fd188f1a00b23 (patch)
tree15efd9e7f60cf366579c906ca8eed9a868e61d91 /config/squid3
parent1bbf2524f7dfc9bf5d08a0213ad5e81defc91b87 (diff)
downloadpfsense-packages-bca9c324b12ca25bd87b4390852fd188f1a00b23.tar.gz
pfsense-packages-bca9c324b12ca25bd87b4390852fd188f1a00b23.tar.bz2
pfsense-packages-bca9c324b12ca25bd87b4390852fd188f1a00b23.zip
do not silence errors with chmod
Diffstat (limited to 'config/squid3')
-rwxr-xr-xconfig/squid3/34/squid.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/config/squid3/34/squid.inc b/config/squid3/34/squid.inc
index f0eea327..76deb94c 100755
--- a/config/squid3/34/squid.inc
+++ b/config/squid3/34/squid.inc
@@ -309,7 +309,7 @@ function squid_install_command() {
/* make sure pinger is executable and suid root */
// XXX: Bug #5114
if (file_exists(SQUID_LOCALBASE. "/libexec/squid/pinger"))
- @chmod(SQUID_LOCALBASE. "/libexec/squid/pinger", 4755);
+ chmod(SQUID_LOCALBASE. "/libexec/squid/pinger", 4755);
// XXX: Is it really necessary?
if (file_exists("/usr/local/etc/rc.d/squid"))
@@ -1880,7 +1880,7 @@ function squid_resync($via_rpc="no") {
/* make sure pinger is executable and suid root */
// XXX: Bug #5114
if (file_exists(SQUID_LOCALBASE . "/libexec/squid/pinger"))
- @chmod(SQUID_LOCALBASE. "/libexec/squid/pinger", 4755);
+ chmod(SQUID_LOCALBASE. "/libexec/squid/pinger", 4755);
$log_dir="";
// check if squid is enabled