diff --git a/main.go b/main.go index fa980c9..b8f4889 100644 --- a/main.go +++ b/main.go @@ -51,6 +51,9 @@ func main() { flag.Parse() + gSocketProt = gDefaultSocketProt + gSocketPath = gDefaultSocketPath + if *showDoc { fmt.Print(genDocString) return @@ -74,9 +77,6 @@ func main() { defer pprof.StopCPUProfile() } - gSocketProt = gDefaultSocketProt - gSocketPath = gDefaultSocketPath - if *serverMode { gServerLogPath = filepath.Join(os.TempDir(), fmt.Sprintf("lf.%s.server.log", gUser.Username)) serve()