From c4b96658a0883d94186ce2b64305dcafaf567922 Mon Sep 17 00:00:00 2001 From: Runxi Yu Date: Sat, 4 Jan 2025 21:01:08 +0800 Subject: Use Open_file_at instead of Open --- main.go | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'main.go') diff --git a/main.go b/main.go index 94f195e..2d6b706 100644 --- a/main.go +++ b/main.go @@ -19,6 +19,11 @@ func main() { panic(err) } + err = prepare_dirs() + if err != nil { + panic(err) + } + listener, err := net.Listen("tcp", ":25") if err != nil { panic(err) -- cgit v1.2.3