diff --git a/cmd/dwelling-upload/main.go b/cmd/dwelling-upload/main.go index 317aae3..30c79dd 100644 --- a/cmd/dwelling-upload/main.go +++ b/cmd/dwelling-upload/main.go @@ -48,7 +48,7 @@ func main() { } defer func() { - if nt, addr := config.SplitNetworkAddress(); nt == "unix" { + if typ, addr := config.SplitNetworkAddress(); typ == "unix" { os.Remove(addr) } }()