From f2bbd9297ed973d4363c837b89bf975619050706 Mon Sep 17 00:00:00 2001 From: Naitik Shah Date: Sun, 6 Oct 2013 11:25:24 -0700 Subject: [PATCH] dont need to be TCP specific --- grace.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/grace.go b/grace.go index 5f59f77..9d55fbb 100644 --- a/grace.go +++ b/grace.go @@ -183,7 +183,7 @@ func Inherit() (listeners []Listener, err error) { if err != nil { return nil, err } - l := tmp.(*net.TCPListener) + l := tmp.(Listener) listeners = append(listeners, NewListener(l)) } return