From a941ac025f9f3a942cab04a6f2447e4cab0e616c Mon Sep 17 00:00:00 2001 From: Ophestra Date: Thu, 9 Oct 2025 22:04:35 +0900 Subject: container/init: unwrap descriptive fatal error These errors are printed with a descriptive message prefixed to them, so it is more readable to expose the underlying errno. Signed-off-by: Ophestra --- container/params.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'container/params.go') diff --git a/container/params.go b/container/params.go index f9862a19..a48eabaf 100644 --- a/container/params.go +++ b/container/params.go @@ -31,7 +31,7 @@ func Receive(key string, e any, fdp *uintptr) (func() error, error) { return nil, ErrReceiveEnv } else { if fd, err := strconv.Atoi(s); err != nil { - return nil, errors.Unwrap(err) + return nil, optionalErrorUnwrap(err) } else { setup = os.NewFile(uintptr(fd), "setup") if setup == nil { -- cgit v1.3.1