From 46cd3a28c83e93b5d66c52d06a8366c11910d5c0 Mon Sep 17 00:00:00 2001 From: Ophestra Date: Mon, 29 Sep 2025 02:33:10 +0900 Subject: container: remove global msg This frees all container instances of side effects. Signed-off-by: Ophestra --- container/initremount.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'container/initremount.go') diff --git a/container/initremount.go b/container/initremount.go index 09f141db..b89ed543 100644 --- a/container/initremount.go +++ b/container/initremount.go @@ -21,8 +21,8 @@ type RemountOp struct { func (r *RemountOp) Valid() bool { return r != nil && r.Target != nil } func (*RemountOp) early(*setupState, syscallDispatcher) error { return nil } -func (r *RemountOp) apply(_ *setupState, k syscallDispatcher) error { - return k.remount(toSysroot(r.Target.String()), r.Flags) +func (r *RemountOp) apply(state *setupState, k syscallDispatcher) error { + return k.remount(state, toSysroot(r.Target.String()), r.Flags) } func (r *RemountOp) Is(op Op) bool { -- cgit v1.3.1