Skip to content

Commit

Permalink
fix: wrong pid output when -w use with -d
Browse files Browse the repository at this point in the history
  • Loading branch information
sgpublic committed Sep 11, 2022
1 parent 532f55f commit 4ff6121
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmd/gocq/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -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()

Expand Down

0 comments on commit 4ff6121

Please sign in to comment.