mirror of
https://github.com/ZeroTier/ZeroTierOne
synced 2025-08-20 13:24:09 -07:00
Bunch of small warnings and stylistic things...
This commit is contained in:
parent
f680924585
commit
e4799ff8c4
21 changed files with 228 additions and 119 deletions
|
@ -26,7 +26,7 @@ import (
|
|||
|
||||
func createNamedSocketListener(basePath, name string) (net.Listener, error) {
|
||||
apiSockPath := path.Join(basePath, name)
|
||||
os.Remove(apiSockPath)
|
||||
_ = os.Remove(apiSockPath)
|
||||
return net.Listen("unix", apiSockPath)
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue