mirror of
https://git.proxmox.com/git/mirror_lxc
synced 2025-08-18 08:59:49 +00:00
c/r: complain when criu isn't exec()'d correctly
Signed-off-by: Tycho Andersen <tycho.andersen@canonical.com> Acked-by: Serge E. Hallyn <serge.hallyn@ubuntu.com>
This commit is contained in:
parent
7f7948206b
commit
4eae405138
@ -239,6 +239,7 @@ static bool criu_version_ok()
|
|||||||
close(pipes[1]);
|
close(pipes[1]);
|
||||||
if (wait_for_pid(pid) < 0) {
|
if (wait_for_pid(pid) < 0) {
|
||||||
close(pipes[0]);
|
close(pipes[0]);
|
||||||
|
SYSERROR("execing criu failed, is it installed?");
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user