Need to close the filehandle

This commit is contained in:
maniacikarus
2009-02-18 07:02:19 +01:00
parent fe1656d2ad
commit d9f2cfa419

View File

@@ -1,3 +1,4 @@
#!/usr/bin/perl #!/usr/bin/perl
############################################################################### ###############################################################################
# # # #
@@ -3992,6 +3993,7 @@ sub writecachemgr
flock(FILE, 2); flock(FILE, 2);
print FILE "$netsettings{'GREEN_ADDRESS'}:$proxysettings{'PROXY_PORT'}\n"; print FILE "$netsettings{'GREEN_ADDRESS'}:$proxysettings{'PROXY_PORT'}\n";
print FILE "localhost"; print FILE "localhost";
close(FILE);
return; return;
} }