From d0a42c967da5ff149e3cc0fab5d65d2ea350f6f0 Mon Sep 17 00:00:00 2001 From: shaoying Date: Thu, 19 Nov 2020 19:37:35 +0800 Subject: [PATCH] opt some --- src/relay.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/relay.go b/src/relay.go index 26719045..6dd60104 100644 --- a/src/relay.go +++ b/src/relay.go @@ -9,7 +9,8 @@ import ( ) func main() { - args := []string{"ssh.connect", "open", "authfile", path.Join(os.Getenv("HOME"), ".ssh/"+path.Base(os.Args[0])+".json")} + args := []string{"ssh.connect", "open", "authfile", path.Join(os.Getenv("HOME"), ".ssh/" path.Base(os.Args[0])".json")} args = append(args, os.Args[1:]...) print(ice.Run(args...)) } +