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) }