Skip to content
Myr

Fix a typo syscanll.SIGTERM -> syscall.SIGTERM (#1868)

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by DeathKing · committed by 田欧 · parent 11407e7 · Browse files · 1 file+2 added−2 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+2 added−2 removed

  • other:+2 added−2 removed

1 file+2 added−2 removed

modified:README.md+2 added-2 removed
1694 unmodified lines
16951696 // Wait for interrupt signal to gracefully shutdown the server with1697 // a timeout of 5 seconds.1698 quit := make(chan os.Signal)1699 // kill (no param) default send syscanll.SIGTERM1699 // kill (no param) default send syscall.SIGTERM1700 // kill -2 is syscall.SIGINT1701 // kill -9 is syscall. SIGKILL but can"t be catch, so don't need add it1701 // kill -9 is syscall.SIGKILL but can"t be catch, so don't need add it1702 signal.Notify(quit, syscall.SIGINT, syscall.SIGTERM)1703 <-quit1704 log.Println("Shutdown Server ...")1705
365 unmodified lines