aboutsummaryrefslogtreecommitdiffhomepage
path: root/internal/sys
diff options
context:
space:
mode:
Diffstat (limited to 'internal/sys')
-rw-r--r--internal/sys/std.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/sys/std.go b/internal/sys/std.go
index 60baac17..89fdd289 100644
--- a/internal/sys/std.go
+++ b/internal/sys/std.go
@@ -86,7 +86,7 @@ func (s *Std) Uid(aid int) (int, error) {
cmd.Path = hsuPath
cmd.Stderr = os.Stderr // pass through fatal messages
cmd.Env = []string{"HAKUREI_APP_ID=" + strconv.Itoa(aid)}
- cmd.Dir = "/"
+ cmd.Dir = container.FHSRoot
var (
p []byte
exitError *exec.ExitError