aboutsummaryrefslogtreecommitdiffhomepage
path: root/container/check/absolute.go
diff options
context:
space:
mode:
Diffstat (limited to 'container/check/absolute.go')
-rw-r--r--container/check/absolute.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/container/check/absolute.go b/container/check/absolute.go
index 83ae8cc4..fcb260c5 100644
--- a/container/check/absolute.go
+++ b/container/check/absolute.go
@@ -56,7 +56,7 @@ func NewAbs(pathname string) (*Absolute, error) {
// MustAbs calls [NewAbs] and panics on error.
func MustAbs(pathname string) *Absolute {
if a, err := NewAbs(pathname); err != nil {
- panic(err.Error())
+ panic(err)
} else {
return a
}