diff --git a/src/exec.c b/src/exec.c index 2c0f121..d1ec58e 100644 --- a/src/exec.c +++ b/src/exec.c @@ -596,10 +596,9 @@ static int hyper_do_exec_cmd(void *data) /* the exit codes follow the `chroot` standard, see docker/docs/reference/run.md#exit-status */ if (errno == ENOENT) - exit(127); + _exit(127); else if (errno == EACCES) - exit(126); - + _exit(126); } exit: