aboutsummaryrefslogtreecommitdiffhomepage
path: root/internal/system
diff options
context:
space:
mode:
Diffstat (limited to 'internal/system')
-rw-r--r--internal/system/output.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/internal/system/output.go b/internal/system/output.go
index 71acace4..a1666dc3 100644
--- a/internal/system/output.go
+++ b/internal/system/output.go
@@ -40,6 +40,10 @@ func (e *OpError) Error() string {
}
func (e *OpError) Message() string {
+ if m, ok := message.GetMessage(e.Err); ok {
+ return m
+ }
+
switch {
case e.Msg != "":
return e.Error()