From ae08955d45d7239e1b4a2caba8ee1b8877204b68 Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Sat, 4 Feb 2006 03:21:59 +0000 Subject: Open file for writing --- packages/squid_ng.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'packages') diff --git a/packages/squid_ng.inc b/packages/squid_ng.inc index b54257d9..026c94d4 100644 --- a/packages/squid_ng.inc +++ b/packages/squid_ng.inc @@ -805,7 +805,7 @@ function custom_php_install_command() { /* set a few extra items noted by regan */ update_output_window("Creating logs and setting user information..."); - $fdsquid = fopen("/usr/local/etc/rc.d/aSquid.sh"); + $fdsquid = fopen("/usr/local/etc/rc.d/aSquid.sh", "w"); fwrite($fdsquid, "#/bin/sh\n"); fwrite($fdsquid, "# \n"); fwrite($fdsquid, "# This file was created by the pfSense package system\n"); -- cgit v1.2.3