We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 46a104a + 8386ef2 commit 6db03b7Copy full SHA for 6db03b7
1 file changed
sys/socket_unix.go
@@ -15,7 +15,7 @@ import (
15
func CreateUnixSocket(path string) (net.Listener, error) {
16
// BSDs have a 104 limit
17
if len(path) > 104 {
18
- return nil, errors.Errorf("%q: unix socket path too long (> 106)", path)
+ return nil, errors.Errorf("%q: unix socket path too long (> 104)", path)
19
}
20
if err := os.MkdirAll(filepath.Dir(path), 0660); err != nil {
21
return nil, err
0 commit comments