From 087335e682373dcc25ae98aaa74926e8e4932b87 Mon Sep 17 00:00:00 2001 From: Michael Stapelberg Date: Thu, 31 Mar 2022 19:33:58 +0200 Subject: [PATCH] PATH: add /user so that programs installed with gokrazy are found --- ssh.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ssh.go b/ssh.go index c5117d6..7e76f5e 100644 --- a/ssh.go +++ b/ssh.go @@ -164,7 +164,7 @@ func expandPath(env []string) []string { } if !found { const busyboxDefaultPATH = "/sbin:/usr/sbin:/bin:/usr/bin" - env = append(env, fmt.Sprintf("PATH=%s:%s", pwd, busyboxDefaultPATH)) + env = append(env, fmt.Sprintf("PATH=%s:/user:%s", pwd, busyboxDefaultPATH)) } return env }