1
0
mirror of https://shylinux.com/x/ContextOS synced 2025-04-25 16:58:06 +08:00
This commit is contained in:
shaoying 2020-11-19 19:37:35 +08:00
parent c0340bdbb9
commit d0a42c967d

View File

@ -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...))
}