Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
eric committed Jan 21, 2020
1 parent 514eb7e commit fb96913
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/server.go
Expand Up @@ -40,12 +40,12 @@ func HandleConn(c net.Conn) {

func main() {
os.Remove(UDS_PATH)
log.Println("Starting USD server")
ln, err := net.Listen("unix", UDS_PATH)
if err != nil {
log.Fatal("Listen error: ", err)
}
defer os.Remove(UDS_PATH)
log.Printf("Starting USD server:%s", UDS_PATH)

sigc := make(chan os.Signal, 1)
signal.Notify(sigc, os.Interrupt, syscall.SIGTERM)
Expand Down

0 comments on commit fb96913

Please sign in to comment.