Skip to content

Commit

Permalink
💨 main: unify exit message
Browse files Browse the repository at this point in the history
  • Loading branch information
database64128 committed Mar 24, 2023
1 parent 2820a12 commit 5d8da1e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions cmd/shadowsocks-go/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -98,8 +98,7 @@ func main() {
sigCh := make(chan os.Signal, 1)
signal.Notify(sigCh, syscall.SIGINT, syscall.SIGTERM)
sig := <-sigCh

logger.Info("Received signal, stopping...", zap.Stringer("signal", sig))
logger.Info("Received exit signal", zap.Stringer("signal", sig))

m.Stop()
}

0 comments on commit 5d8da1e

Please sign in to comment.