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: 71f96c2e6f
("rootless: define LIBEXECPODMAN")
Signed-off-by: Paul Holzinger <pholzing@redhat.com>
This commit is contained in:
parent
bab95de9a2
commit
38c217a0bf
|
@ -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... */
|
||||
|
||||
|
|
Loading…
Reference in New Issue