From 712cfc06d7e541c6e28b4b127a4760b4cfccffa8 Mon Sep 17 00:00:00 2001 From: Ophestra Date: Sat, 30 Aug 2025 23:44:48 +0900 Subject: container: wrap container init start errors This helps indicate the exact origin and nature of the error. This eliminates generic WrapErr from container. Signed-off-by: Ophestra --- internal/app/shim.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'internal/app/shim.go') diff --git a/internal/app/shim.go b/internal/app/shim.go index 33ede520..960506f3 100644 --- a/internal/app/shim.go +++ b/internal/app/shim.go @@ -65,7 +65,7 @@ func ShimMain() { if errors.Is(err, syscall.EBADF) { log.Fatal("invalid config descriptor") } - if errors.Is(err, container.ErrNotSet) { + if errors.Is(err, container.ErrReceiveEnv) { log.Fatal("HAKUREI_SHIM not set") } -- cgit v1.3.1