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 /container/init.go | |
| parent | edd6f2cfa9b08c5c43cea545f9ecc8b5021cf9d6 (diff) | |
container/params: remove confusingly named error
Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'container/init.go')
| -rw-r--r-- | container/init.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/container/init.go b/container/init.go index c8274317..0ede1d7f 100644 --- a/container/init.go +++ b/container/init.go @@ -62,7 +62,7 @@ func Init(prepare func(prefix string), setVerbose func(verbose bool)) { offsetSetup int ) if f, err := Receive(setupEnv, ¶ms, &setupFile); err != nil { - if errors.Is(err, ErrInvalid) { + if errors.Is(err, EBADF) { log.Fatal("invalid setup descriptor") } if errors.Is(err, ErrNotSet) { |
