From c6be82bcf91fc4b6e61d9df40213e80367addbd8 Mon Sep 17 00:00:00 2001 From: Ophestra Date: Sun, 3 Aug 2025 20:46:41 +0900 Subject: container/path: fhs path constants This increases readability since this can help disambiguate absolute paths from similarly named path segments. Signed-off-by: Ophestra --- internal/sys/std.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'internal/sys/std.go') 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 -- cgit v1.3.1