Skip to content

Commit

Permalink
Preserve unix socket file
Browse files Browse the repository at this point in the history
  • Loading branch information
frankli0324 authored Jul 27, 2022
1 parent a3d55ac commit d38eb97
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion modules/graceful/net_unix.go
Original file line number Diff line number Diff line change
@@ -168,7 +168,6 @@ func GetListenerUnix(network string, address *net.UnixAddr) (*net.UnixListener,
providedListeners = append(providedListeners[:i], providedListeners[i+1:]...)
activeListeners = append(activeListeners, l)
unixListener := l.(*net.UnixListener)
unixListener.SetUnlinkOnClose(true)
return unixListener, nil
}
}

0 comments on commit d38eb97

Please sign in to comment.