From 40abf968eddd54b6c03ac064d6e42cc6f1083146 Mon Sep 17 00:00:00 2001 From: Jakob Unterwurzacher Date: Mon, 2 Sep 2024 16:31:23 +0200 Subject: ctlsocksrv: move Listen() call here Prep for solving https://github.com/rfjakob/gocryptfs/issues/776 --- internal/ctlsocksrv/ctlsock_listen.go | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 internal/ctlsocksrv/ctlsock_listen.go (limited to 'internal') diff --git a/internal/ctlsocksrv/ctlsock_listen.go b/internal/ctlsocksrv/ctlsock_listen.go new file mode 100644 index 0000000..1db9cbc --- /dev/null +++ b/internal/ctlsocksrv/ctlsock_listen.go @@ -0,0 +1,9 @@ +package ctlsocksrv + +import ( + "net" +) + +func Listen(path string) (net.Listener, error) { + return net.Listen("unix", path) +} -- cgit v1.2.3