diff options
author | Jakob Unterwurzacher | 2024-09-02 16:31:23 +0200 |
---|---|---|
committer | Jakob Unterwurzacher | 2024-09-02 16:31:23 +0200 |
commit | 40abf968eddd54b6c03ac064d6e42cc6f1083146 (patch) | |
tree | 6f3015b0e56135891e5a211c62b391bb6b36e7a5 /internal | |
parent | f665be1178c72a4768e82bccdfa073a0cf309215 (diff) |
ctlsocksrv: move Listen() call here
Prep for solving https://github.com/rfjakob/gocryptfs/issues/776
Diffstat (limited to 'internal')
-rw-r--r-- | internal/ctlsocksrv/ctlsock_listen.go | 9 |
1 files changed, 9 insertions, 0 deletions
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) +} |