Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/libcrun/container.c
Original file line number Diff line number Diff line change
Expand Up @@ -3607,7 +3607,7 @@ exec_process_entrypoint (libcrun_context_t *context,

ret = clearenv ();
if (UNLIKELY (ret < 0))
return ret;
return crun_make_error (err, errno, "clearenv");

if (process->env_len)
{
Expand Down Expand Up @@ -3772,7 +3772,7 @@ exec_process_entrypoint (libcrun_context_t *context,
exec_path,
process->args);
if (UNLIKELY (ret < 0))
return ret;
return crun_make_error (err, -ret, "exec container process failed with handler as `%s`", custom_handler->vtable->name);

_exit (EXIT_FAILURE);
}
Expand Down