Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
daemon: handle EISDIR error from runtime
Go 1.20 made a change to the behaviour of package "os/exec" which was not mentioned in the release notes: golang/go@2b8f214 Attempts to execute a directory now return syscall.EISDIR instead of syscall.EACCESS. Check for EISDIR errors from the runtime and set the exit code appropriately. Signed-off-by: Cory Snider <csnider@mirantis.com>
- Loading branch information