aboutsummaryrefslogtreecommitdiffhomepage
path: root/internal/app/spaccount.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/app/spaccount.go')
-rw-r--r--internal/app/spaccount.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/internal/app/spaccount.go b/internal/app/spaccount.go
index 71c7d7f3..0927bcc3 100644
--- a/internal/app/spaccount.go
+++ b/internal/app/spaccount.go
@@ -4,7 +4,7 @@ import (
"fmt"
"syscall"
- "hakurei.app/container"
+ "hakurei.app/container/fhs"
"hakurei.app/hst"
)
@@ -34,14 +34,14 @@ func (s spAccountOp) toContainer(state *outcomeStateParams) error {
state.env["SHELL"] = state.Container.Shell.String()
state.params.
- Place(container.AbsFHSEtc.Append("passwd"),
+ Place(fhs.AbsEtc.Append("passwd"),
[]byte(state.Container.Username+":x:"+
state.mapuid.String()+":"+
state.mapgid.String()+
":Hakurei:"+
state.Container.Home.String()+":"+
state.Container.Shell.String()+"\n")).
- Place(container.AbsFHSEtc.Append("group"),
+ Place(fhs.AbsEtc.Append("group"),
[]byte("hakurei:x:"+state.mapgid.String()+":\n"))
return nil