diff options
| author | Ophestra <cat@gensokyo.uk> | 2025-08-09 17:36:36 +0900 |
|---|---|---|
| committer | Ophestra <cat@gensokyo.uk> | 2025-08-09 17:37:46 +0900 |
| commit | 82608164f66dda428189bdc3610f027820408b49 (patch) | |
| tree | 8252de6260fcb4d6d050f5c1ca544fe8d2f7544f /internal | |
| parent | edd6f2cfa9b08c5c43cea545f9ecc8b5021cf9d6 (diff) | |
container/params: remove confusingly named error
Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'internal')
| -rw-r--r-- | internal/app/shim_linux.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/app/shim_linux.go b/internal/app/shim_linux.go index e423b321..8573ad10 100644 --- a/internal/app/shim_linux.go +++ b/internal/app/shim_linux.go @@ -64,7 +64,7 @@ func ShimMain() { closeSetup func() error ) if f, err := container.Receive(shimEnv, ¶ms, nil); err != nil { - if errors.Is(err, container.ErrInvalid) { + if errors.Is(err, syscall.EBADF) { log.Fatal("invalid config descriptor") } if errors.Is(err, container.ErrNotSet) { |
