mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-28 03:33:25 +02:00
Need to close the filehandle
This commit is contained in:
@@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user