Cory Snider
9b5ceb52b0
cli/command/container: exit 126 on EISDIR error
...
The error returned from "os/exec".Command when attempting to execute a
directory has been changed from syscall.EACCESS to syscall.EISDIR on
Go 1.20. 2b8f214094
Consequently, any runc runtime built against Go 1.20 will return an
error containing 'is a directory' and not 'permission denied'. Update
the string matching so the CLI exits with status code 126 on 'is a
directory' errors (EISDIR) in addition to 'permission denied' (EACCESS).
Signed-off-by: Cory Snider <csnider@mirantis.com >
2023-02-03 17:55:43 -05:00
..
2022-12-01 10:58:40 +01:00
2022-04-30 12:01:37 +02:00
2022-06-28 17:32:09 +02:00
2022-04-30 12:01:37 +02:00
2017-10-26 12:21:02 -04:00
2023-01-06 19:15:33 +01:00
2022-09-30 11:59:11 +02:00
2022-12-29 15:19:24 +01:00
2022-06-28 13:58:50 +02:00
2023-01-06 19:15:33 +01:00
2022-06-28 17:32:09 +02:00
2022-09-30 11:59:11 +02:00
2023-01-06 19:15:33 +01:00
2022-02-25 15:36:23 +01:00
2022-06-28 17:32:09 +02:00
2020-08-31 16:31:15 +02:00
2022-09-30 11:59:11 +02:00
2022-05-13 21:26:38 +02:00
2022-05-13 21:39:03 +02:00
2022-05-13 20:50:19 +02:00
2022-05-12 12:59:10 +02:00
2022-06-28 17:32:09 +02:00
2022-06-07 12:48:56 +02:00
2022-06-28 17:32:09 +02:00
2022-09-30 11:59:11 +02:00
2023-01-06 19:15:33 +01:00
2022-12-29 15:14:15 +01:00
2022-12-29 15:19:24 +01:00
2022-06-28 17:32:09 +02:00
2022-12-01 10:58:40 +01:00
2022-12-01 10:58:40 +01:00
2023-01-06 19:15:33 +01:00
2022-06-28 17:32:09 +02:00
2022-06-28 17:32:09 +02:00
2023-01-04 10:57:45 +01:00
2023-01-29 08:46:08 +09:00
2022-06-28 13:58:50 +02:00
2023-02-03 17:55:43 -05:00
2022-09-30 11:59:11 +02:00
2022-03-26 20:21:00 +01:00
2022-03-26 20:21:00 +01:00
2021-05-24 19:37:53 +01:00
2021-11-05 18:10:51 +01:00
2022-07-19 19:10:16 +02:00
2020-04-11 08:13:21 +09:00
2022-05-13 21:39:03 +02:00
2019-03-11 10:01:22 +08:00
2022-07-19 19:10:16 +02:00
2022-06-28 17:32:09 +02:00
2022-06-28 17:32:09 +02:00
2022-05-02 17:01:01 +02:00
2022-05-02 14:23:07 +02:00
2022-06-28 17:32:09 +02:00
2023-01-06 19:15:33 +01:00
2022-04-30 12:01:37 +02:00
2018-05-11 16:49:43 -07:00
2022-06-28 17:32:09 +02:00