From 750e1aaaa5cf2a224f18e28f2974b48a1b31efd0 Mon Sep 17 00:00:00 2001 From: Chris Lu Date: Tue, 13 May 2014 00:05:18 -0700 Subject: [PATCH] Add control+c or INT handling --- go/weed/volume.go | 1 + 1 file changed, 1 insertion(+) diff --git a/go/weed/volume.go b/go/weed/volume.go index fa09eb6b5..1885afd79 100644 --- a/go/weed/volume.go +++ b/go/weed/volume.go @@ -6,6 +6,7 @@ import ( "code.google.com/p/weed-fs/go/weed/weed_server" "net/http" "os" + "os/signal" "runtime" "strconv" "strings"