diff options
| author | Ophestra <cat@gensokyo.uk> | 2025-08-03 20:46:41 +0900 |
|---|---|---|
| committer | Ophestra <cat@gensokyo.uk> | 2025-08-03 21:16:45 +0900 |
| commit | c6be82bcf91fc4b6e61d9df40213e80367addbd8 (patch) | |
| tree | ee245cf214ff845f0d8a3eac0cc1a6064107112d /internal/sys/std.go | |
| parent | 38245559dca0833dc078b982d59490eee53e168c (diff) | |
container/path: fhs path constants
This increases readability since this can help disambiguate absolute paths from similarly named path segments.
Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'internal/sys/std.go')
| -rw-r--r-- | internal/sys/std.go | 2 |
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 |
