From: Michael Tremer Date: Sun, 19 Mar 2023 19:03:05 +0000 (+0000) Subject: jail: Log the path of the command we tried to execute X-Git-Tag: 0.9.29~242 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=0494b00c0c258dd0b570b82928bbc3e4ee89c632;p=pakfire.git jail: Log the path of the command we tried to execute Signed-off-by: Michael Tremer --- diff --git a/src/libpakfire/jail.c b/src/libpakfire/jail.c index f9d18a83c..dc417a45e 100644 --- a/src/libpakfire/jail.c +++ b/src/libpakfire/jail.c @@ -1546,7 +1546,7 @@ static int pakfire_jail_child(struct pakfire_jail* jail, struct pakfire_jail_exe // exec() command r = execvpe(argv[0], (char**)argv, jail->env); if (r < 0) - ERROR(jail->pakfire, "Could not execve(): %m\n"); + ERROR(jail->pakfire, "Could not execve(%s): %m\n", argv[0]); // Translate errno into regular exit code switch (errno) {