1
0
mirror of https://github.com/Mrs4s/go-cqhttp.git synced 2025-05-05 19:43:49 +08:00

fix: wrong pid output when -w use with -d

This commit is contained in:
Madray Haven 2022-09-11 19:59:02 +08:00
parent 532f55fba0
commit 4ff61215c6

View File

@ -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()