Skip to content

Commit

Permalink
fix ignore the http server exit
Browse files Browse the repository at this point in the history
  • Loading branch information
zyxkad committed Oct 18, 2023
1 parent 21cfdc4 commit e8fb8fe
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cmds/liter-server/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -251,6 +251,8 @@ WAIT:
case <-exit1:
os.Exit(1)
case <-exit2:
// ignore the http server exit
exit2 = nil
goto WAIT
}
}
Expand Down

0 comments on commit e8fb8fe

Please sign in to comment.