From 41f3e652a92e7de8696027fd442611269b0c8229 Mon Sep 17 00:00:00 2001 From: Brad Fitzpatrick <brad@danga.com> Date: Sun, 21 Jul 2013 05:23:39 +1200 Subject: [PATCH] cammount: kill xterm on exit Change-Id: Id64901853cd2adbf9aa27c9d5cc40f93b732bbbe --- cmd/cammount/cammount.go | 1 + 1 file changed, 1 insertion(+) diff --git a/cmd/cammount/cammount.go b/cmd/cammount/cammount.go index b05a9c5ca..6be7b940d 100644 --- a/cmd/cammount/cammount.go +++ b/cmd/cammount/cammount.go @@ -141,6 +141,7 @@ func main() { cmd.Wait() xtermDone <- true }() + defer cmd.Process.Kill() } }