diff --git a/cmd/gocq/main.go b/cmd/gocq/main.go index dacaead6c..442f73eb6 100644 --- a/cmd/gocq/main.go +++ b/cmd/gocq/main.go @@ -55,10 +55,10 @@ func Main() { switch { case base.LittleH: base.Help() - case base.LittleD: - server.Daemon() case base.LittleWD != "": base.ResetWorkingDir() + case base.LittleD: + server.Daemon() } base.Init()