From: maniacikarus Date: Wed, 18 Feb 2009 06:02:19 +0000 (+0100) Subject: Need to close the filehandle X-Git-Tag: v2.5-beta1~164 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=d9f2cfa419c9c85dd3df6cbca15e70580587253e;p=ipfire-2.x.git Need to close the filehandle --- diff --git a/html/cgi-bin/proxy.cgi b/html/cgi-bin/proxy.cgi index 780fe5b92f..3850019099 100644 --- a/html/cgi-bin/proxy.cgi +++ b/html/cgi-bin/proxy.cgi @@ -1,3 +1,4 @@ + #!/usr/bin/perl ############################################################################### # # @@ -3992,6 +3993,7 @@ sub writecachemgr flock(FILE, 2); print FILE "$netsettings{'GREEN_ADDRESS'}:$proxysettings{'PROXY_PORT'}\n"; print FILE "localhost"; + close(FILE); return; }