From a607971f5f1f4996ac44cb515251475401876430 Mon Sep 17 00:00:00 2001 From: Salman Aljammaz Date: Tue, 15 Oct 2013 14:29:22 +0100 Subject: [PATCH] cammount: handle SIGINT, so that we unmount too in that case. Change-Id: I5e82c6326aab892674c775e0615a91af71532d3c --- cmd/cammount/cammount.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/cammount/cammount.go b/cmd/cammount/cammount.go index 079049f90..ff33870c7 100644 --- a/cmd/cammount/cammount.go +++ b/cmd/cammount/cammount.go @@ -147,7 +147,7 @@ func main() { } } - signal.Notify(sigc, syscall.SIGQUIT, syscall.SIGTERM) + signal.Notify(sigc, syscall.SIGQUIT, syscall.SIGTERM, syscall.SIGINT) doneServe := make(chan error, 1) go func() {