mirror of
https://github.com/moby/moby.git
synced 2026-01-11 18:51:37 +00:00
Go 1.20 made a change to the behaviour of package "os/exec" which was not mentioned in the release notes:2b8f214094Attempts to execute a directory now return syscall.EISDIR instead of syscall.EACCESS. Check for EISDIR errors from the runtime and fudge the returned error message to maintain compatibility with existing versions of docker/cli when using a version of runc compiled with Go 1.20+. Signed-off-by: Cory Snider <csnider@mirantis.com> (cherry picked from commit713e02e03e) Signed-off-by: Cory Snider <csnider@mirantis.com>
4.9 KiB
4.9 KiB