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 --- system/link.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'system/link.go') diff --git a/system/link.go b/system/link.go index 2eb658af..d463b623 100644 --- a/system/link.go +++ b/system/link.go @@ -22,16 +22,16 @@ type hardlinkOp struct { func (l *hardlinkOp) Type() Enablement { return l.et } func (l *hardlinkOp) apply(sys *I) error { - sys.verbose("linking", l) + sys.msg.Verbose("linking", l) return newOpError("hardlink", sys.link(l.src, l.dst), false) } func (l *hardlinkOp) revert(sys *I, ec *Criteria) error { if ec.hasType(l.Type()) { - sys.verbosef("removing hard link %q", l.dst) + sys.msg.Verbosef("removing hard link %q", l.dst) return newOpError("hardlink", sys.remove(l.dst), true) } else { - sys.verbosef("skipping hard link %q", l.dst) + sys.msg.Verbosef("skipping hard link %q", l.dst) return nil } } -- cgit v1.3.1