From d9f2cfa419c9c85dd3df6cbca15e70580587253e Mon Sep 17 00:00:00 2001 From: maniacikarus Date: Wed, 18 Feb 2009 07:02:19 +0100 Subject: [PATCH] Need to close the filehandle --- html/cgi-bin/proxy.cgi | 2 ++ 1 file changed, 2 insertions(+) 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; } -- 2.39.5