We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3fcaebd commit 4aaa4edCopy full SHA for 4aaa4ed
snapshotter/cmd/snapshotter/main.go
@@ -23,7 +23,7 @@ func main() {
23
var unixAddr, rootPath = os.Args[1], os.Args[2]
24
25
stop := make(chan os.Signal, 1)
26
- signal.Notify(stop, syscall.SIGINT, syscall.SIGTERM)
+ signal.Notify(stop, syscall.SIGINT, syscall.SIGTERM, syscall.SIGPIPE, syscall.SIGHUP, syscall.SIGQUIT)
27
28
ctx, cancel := context.WithCancel(context.Background())
29
defer cancel()
0 commit comments