diff options
| author | Ophestra <cat@gensokyo.uk> | 2026-10-01 15:20:55 +0900 |
|---|---|---|
| committer | Ophestra <cat@gensokyo.uk> | 2026-10-01 15:20:55 +0900 |
| commit | b0fa39b560d2caaaf0708c0828ae191311aee971 (patch) | |
| tree | feef3f6d744441b301bd78c8f147d2be3ea143ad /pkg | |
| parent | d8acd8a29aca25055244b9e28a8ad520e82a41cd (diff) | |
pkg: drop EEXIST linking substitute status
This can happen under some edge cases and is expected.
Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'pkg')
| -rw-r--r-- | pkg/pkg.go | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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 } |
