From f21bd1b5a124b761d96441dda122988468045d33 Mon Sep 17 00:00:00 2001 From: shylinux Date: Thu, 4 Nov 2021 15:08:30 +0800 Subject: [PATCH] add m1 --- src/relay.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/relay.go b/src/relay.go index 810d748b..a6fa4d5b 100644 --- a/src/relay.go +++ b/src/relay.go @@ -5,11 +5,11 @@ import ( "path" "shylinux.com/x/ice" - "shylinux.com/x/icebergs/misc/ssh" + _ "shylinux.com/x/icebergs/misc/ssh" ) func main() { defer func() { recover() }() - 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")} print(ice.Run(append(args, os.Args[1:]...)...)) }