1
0
mirror of https://github.com/rclone/rclone.git synced 2025-02-09 13:13:53 +02:00
rclone/cmd/serve/docker/unix_unsupported.go

13 lines
218 B
Go
Raw Normal View History

// +build !linux,!freebsd
package docker
import (
"errors"
"net"
)
func newUnixListener(path string, gid int) (net.Listener, string, error) {
return nil, "", errors.New("unix sockets require Linux or FreeBSD")
}