Commit 85e4d75c authored by Jacob Vosmaer's avatar Jacob Vosmaer

It's OK if the socket is not there yet

parent e12628ce
......@@ -81,7 +81,7 @@ func main() {
// Good housekeeping for Unix sockets: unlink before binding
if *listenNetwork == "unix" {
if err := os.Remove(*listenAddr); err != nil {
if err := os.Remove(*listenAddr); err != nil && !os.IsNotExist(err) {
log.Fatal(err)
}
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment