From 1be20076100b6de4805e8563e77bb4dc7eb2b77a Mon Sep 17 00:00:00 2001 From: Henrique Dias Date: Thu, 16 May 2019 16:16:22 +0100 Subject: [PATCH] fix: os.Kill cannot be trapped License: MIT Signed-off-by: Henrique Dias --- cmd/root.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/root.go b/cmd/root.go index ad1d225a..e1937870 100644 --- a/cmd/root.go +++ b/cmd/root.go @@ -127,7 +127,7 @@ user created with the credentials from options "username" and "password".`, } sigc := make(chan os.Signal, 1) - signal.Notify(sigc, os.Interrupt, os.Kill, syscall.SIGTERM) + signal.Notify(sigc, os.Interrupt, syscall.SIGTERM) go cleanupHandler(listener, sigc) handler, err := fbhttp.NewHandler(d.store, server)