From 5d18af00077ae6ba8ef686d1fd93d888f69681b2 Mon Sep 17 00:00:00 2001 From: Ophestra Date: Tue, 7 Oct 2025 21:29:16 +0900 Subject: container/fhs: move pathname constants This allows referencing FHS pathnames without importing container. Signed-off-by: Ophestra --- internal/app/hsu.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'internal/app/hsu.go') diff --git a/internal/app/hsu.go b/internal/app/hsu.go index 93b6bb8a..982cb51b 100644 --- a/internal/app/hsu.go +++ b/internal/app/hsu.go @@ -10,6 +10,7 @@ import ( "sync" "hakurei.app/container" + "hakurei.app/container/fhs" "hakurei.app/hst" ) @@ -45,7 +46,7 @@ func (h *Hsu) ID() (int, error) { cmd.Path = hsuPath cmd.Stderr = os.Stderr // pass through fatal messages cmd.Env = make([]string, 0) - cmd.Dir = container.FHSRoot + cmd.Dir = fhs.Root var ( p []byte exitError *exec.ExitError -- cgit v1.3.1