aboutsummaryrefslogtreecommitdiffhomepage
path: root/system/output.go
diff options
context:
space:
mode:
authorOphestra <cat@gensokyo.uk>2025-09-06 17:41:06 +0900
committerOphestra <cat@gensokyo.uk>2025-09-06 17:41:06 +0900
commitfcd0f2ede7e51b92ffbc91e57f6096e29b3b5b7d (patch)
tree8a9913a30045ccc4f7d950f101145442ae3f3c73 /system/output.go
parente68db7fbfc367f25ccbaf57ec43f0f4b3c93cba7 (diff)
system/output: pass through LinkError
This has similar formatting to PathError. Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'system/output.go')
-rw-r--r--system/output.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/system/output.go b/system/output.go
index e602976c..f183ebfe 100644
--- a/system/output.go
+++ b/system/output.go
@@ -34,6 +34,7 @@ func (e *OpError) Error() string {
switch {
case errors.As(e.Err, new(*os.PathError)),
+ errors.As(e.Err, new(*os.LinkError)),
errors.As(e.Err, new(*net.OpError)),
errors.As(e.Err, new(*container.StartError)):
return e.Err.Error()