From d85bf0e81e3355ec6b97fdcce05d9f012f2b9220 Mon Sep 17 00:00:00 2001 From: Kir Kolyshkin Date: Thu, 30 Apr 2026 15:12:29 -0700 Subject: [PATCH] crun exec: more verbose exec error message Add the actual path we failed to exec into the error. Signed-off-by: Kir Kolyshkin --- src/libcrun/container.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libcrun/container.c b/src/libcrun/container.c index 15bd0c3fc2..dc762ad036 100644 --- a/src/libcrun/container.c +++ b/src/libcrun/container.c @@ -3870,7 +3870,7 @@ exec_process_entrypoint (libcrun_context_t *context, crun_error_release (err); TEMP_FAILURE_RETRY (execv (exec_path, process->args)); - libcrun_fail_with_error (errno, "exec"); + libcrun_fail_with_error (errno, "exec `%s`", exec_path); } int