nt var was renamed to more understandable typ.
This commit is contained in:
parent
3ec15fbd2a
commit
8b34c1e935
@ -36,7 +36,7 @@ func main() {
|
||||
}
|
||||
|
||||
defer func() {
|
||||
if nt, addr := config.SplitNetworkAddress(); nt == "unix" {
|
||||
if typ, addr := config.SplitNetworkAddress(); typ == "unix" {
|
||||
os.Remove(addr)
|
||||
}
|
||||
}()
|
||||
|
Loading…
Reference in New Issue
Block a user