mirror of
https://github.com/containers/podman.git
synced 2025-07-27 02:12:48 +08:00
pkg/rootless: use catatonit from /usr/libexec/podman
The path was missing a slash between the libexec path and the binary name. This was never noticed because the code already falls back to a builtt-in pause process. Fixes: 71f96c2e6ff7 ("rootless: define LIBEXECPODMAN") Signed-off-by: Paul Holzinger <pholzing@redhat.com>
This commit is contained in:
@ -278,7 +278,7 @@ do_pause ()
|
||||
sigaction (sig[i], &act, NULL);
|
||||
|
||||
/* Attempt to execv catatonit to keep the pause process alive. */
|
||||
execl (LIBEXECPODMAN "catatonit", "catatonit", "-P", NULL);
|
||||
execl (LIBEXECPODMAN "/catatonit", "catatonit", "-P", NULL);
|
||||
execl ("/usr/bin/catatonit", "catatonit", "-P", NULL);
|
||||
/* and if the catatonit executable could not be found, fallback here... */
|
||||
|
||||
|
Reference in New Issue
Block a user