From 7a13422c5d3e91ec10e4ee93f911dfcc263230f4 Mon Sep 17 00:00:00 2001 From: Mikhail Osipov Date: Wed, 27 Apr 2022 23:35:20 +0300 Subject: fix sys/user tunnel list --- cmd/tunnel/main.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'cmd') diff --git a/cmd/tunnel/main.go b/cmd/tunnel/main.go index 7244104..8455055 100644 --- a/cmd/tunnel/main.go +++ b/cmd/tunnel/main.go @@ -67,9 +67,9 @@ func listSockets() { } user, sys := config.GetSocketPath(""), config.GetSysSocketPath("") - list("user", user) + list("sys", sys) if sys != user { - list("sys", sys) + list("user", user) } sort.Strings(ss) -- cgit v1.2.3-70-g09d2