From 79d5056b0f1c68e7f9189c8f50581db60cad2c40 Mon Sep 17 00:00:00 2001 From: crusader Date: Fri, 27 Oct 2017 11:26:15 +0900 Subject: [PATCH] ing --- ipc/ipc_unix.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ipc/ipc_unix.go b/ipc/ipc_unix.go index 4660da9..2354286 100644 --- a/ipc/ipc_unix.go +++ b/ipc/ipc_unix.go @@ -7,7 +7,7 @@ import ( func (sh *ServerHandlers) Listen() (l net.Listener, err error) { //sh.path = filepath.Join(os.TempDir(), sh.Addr) - // os.Remove(sh.path) + os.Remove(sh.Addr) l, err = net.ListenUnix("unix", &net.UnixAddr{Name: sh.Addr, Net: "unix"}) os.Chmod(sh.Addr, 0777) @@ -16,5 +16,5 @@ func (sh *ServerHandlers) Listen() (l net.Listener, err error) { } func (sh *ServerHandlers) Stopped() { - // os.Remove(sh.path) + os.Remove(sh.Addr) }