From f8dd68d2a282459b407868628a7f9f028aa8cad5 Mon Sep 17 00:00:00 2001 From: "Alexander \"Arav\" Andreev" Date: Sun, 6 Mar 2022 21:52:07 +0400 Subject: [PATCH] Renamed a nt variable into more clear variant - typ. --- cmd/dwelling-upload/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) } }()