#12861 Remove os.Kill since golang can't capture it (#13419)

#12861
This commit is contained in:
Sharon Katz
2023-08-22 10:58:51 -04:00
committed by GitHub
parent 38c5c58f8a
commit 7718135bd6
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -22,7 +22,7 @@ import (
)
func signalHandler(ctx context.Context) (execute func() error, interrupt func(error)) {
return run.SignalHandler(ctx, os.Interrupt, os.Kill, syscall.SIGTERM)
return run.SignalHandler(ctx, os.Interrupt, syscall.SIGTERM)
}
func sigusrListener(rootDir string) {
+1 -1
View File
@@ -8,7 +8,7 @@ import (
)
func signalHandler(ctx context.Context) (execute func() error, interrupt func(error)) {
return run.SignalHandler(ctx, os.Interrupt, os.Kill)
return run.SignalHandler(ctx, os.Interrupt)
}
func sigusrListener(rootDir string) {