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 @@ -1447,7 +1447,7 @@ container_init (void *args, char *notify_socket, int sync_socket, libcrun_error_
_exit (ret);
}

execv (exec_path, def->process->args);
TEMP_FAILURE_RETRY (execv (exec_path, def->process->args));

if (errno == ENOENT)
return crun_make_error (err, errno, "exec container process (missing dynamic library?) `%s`", exec_path);
Expand Down Expand Up @@ -3252,7 +3252,7 @@ libcrun_container_exec (libcrun_context_t *context, const char *id, runtime_spec
TEMP_FAILURE_RETRY (close (pipefd1));
pipefd1 = -1;

execv (exec_path, process->args);
TEMP_FAILURE_RETRY (execv (exec_path, process->args));
libcrun_fail_with_error (errno, "exec");
_exit (EXIT_FAILURE);
}
Expand Down