From bca9c324b12ca25bd87b4390852fd188f1a00b23 Mon Sep 17 00:00:00 2001 From: doktornotor Date: Wed, 9 Sep 2015 11:33:33 +0200 Subject: do not silence errors with chmod --- config/squid3/34/squid.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'config/squid3/34') 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 -- cgit v1.2.3