Skip to content

Commit af962ce

Browse files
authored
Deal with sighup (#460)
* Modified engine_test.go file * deal with SIGHUP signal in main.go file
1 parent 45cb622 commit af962ce

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

main.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ func main() {
5959
fmt.Println("[debug] mode")
6060
}
6161
sigs := make(chan os.Signal, 1)
62-
signal.Notify(sigs, syscall.SIGINT, syscall.SIGTERM)
62+
signal.Notify(sigs, syscall.SIGINT, syscall.SIGTERM, syscall.SIGHUP)
6363

6464
var err error
6565
cfg, err := runner.InitConfig(cfgPath)

0 commit comments

Comments
 (0)