From b0fa39b560d2caaaf0708c0828ae191311aee971 Mon Sep 17 00:00:00 2001 From: Ophestra Date: Thu, 1 Oct 2026 15:20:55 +0900 Subject: pkg: drop EEXIST linking substitute status This can happen under some edge cases and is expected. Signed-off-by: Ophestra --- pkg/pkg.go | 3 +++ 1 file changed, 3 insertions(+) (limited to 'pkg') diff --git a/pkg/pkg.go b/pkg/pkg.go index c2fe42fe..3515f99f 100644 --- a/pkg/pkg.go +++ b/pkg/pkg.go @@ -364,6 +364,9 @@ func (f *FContext) linkSubstitute(ids, substitutes string) (err error) { if err == nil { f.statusSPath = statusS } + if errors.Is(err, os.ErrExist) { + err = nil + } return } -- cgit v1.3.1