[snowflake/master] Close the log file in server.

16 Jul
2017
16 Jul
'17
10:04 p.m.
commit db2251345d16a530cf27fe951b235719515c2b88 Author: David Fifield <david@bamsoftware.com> Date: Sun Jul 16 15:02:57 2017 -0700 Close the log file in server. --- server/server.go | 1 + 1 file changed, 1 insertion(+) diff --git a/server/server.go b/server/server.go index 7229e06..3e29a0b 100644 --- a/server/server.go +++ b/server/server.go @@ -239,6 +239,7 @@ func main() { if err != nil { log.Fatalf("can't open log file: %s", err) } + defer f.Close() log.SetOutput(f) }
2884
Age (days ago)
2884
Last active (days ago)
0 comments
1 participants
participants (1)
-
dcf@torproject.org