From a8e98384cd8598146d13b324762e5e0929e1f8bf Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Fri, 13 Jan 2006 17:30:00 +0000 Subject: If $acldir does not exist then touch src_subnets.acl as well --- packages/squid_ng.inc | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/squid_ng.inc b/packages/squid_ng.inc index 47a19635..02e152d0 100644 --- a/packages/squid_ng.inc +++ b/packages/squid_ng.inc @@ -471,6 +471,7 @@ function global_write_squid_config() if (isset($allowed_subnets) && ($allowed_subnets !== "")) { if (!file_exists($acldir)) { mwexec("/bin/mkdir -p " . $acldir); + mwexec("touch {$acldir}/src_subnets.acl"); } $aclout = fopen($acldir . "/src_subnets.acl","w"); -- cgit v1.2.3