diff options
Diffstat (limited to 'cmd')
-rw-r--r-- | cmd/web.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/web.go b/cmd/web.go index ee9ee4d951..a43dae38f3 100644 --- a/cmd/web.go +++ b/cmd/web.go @@ -655,7 +655,7 @@ func runWeb(ctx *cli.Context) error { os.Remove(listenAddr) var listener *net.UnixListener - listener, err = net.ListenUnix("unix", &net.UnixAddr{listenAddr, "unix"}) + listener, err = net.ListenUnix("unix", &net.UnixAddr{Name: listenAddr, Net: "unix"}) if err != nil { break // Handle error after switch } |