diff options
Diffstat (limited to 'container/autoroot.go')
| -rw-r--r-- | container/autoroot.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/container/autoroot.go b/container/autoroot.go index 519aadaf..0ebe6b2b 100644 --- a/container/autoroot.go +++ b/container/autoroot.go @@ -5,6 +5,7 @@ import ( "fmt" "hakurei.app/container/check" + "hakurei.app/container/fhs" ) func init() { gob.Register(new(AutoRootOp)) } @@ -40,7 +41,7 @@ func (r *AutoRootOp) early(state *setupState, k syscallDispatcher) error { // careful: the Valid method is skipped, make sure this is always valid op := &BindMountOp{ Source: r.Host.Append(name), - Target: AbsFHSRoot.Append(name), + Target: fhs.AbsRoot.Append(name), Flags: r.Flags, } if err = op.early(state, k); err != nil { |
