mirror of
https://git.proxmox.com/git/mirror_lxc
synced 2025-08-16 09:01:09 +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]);
|
||||
if (wait_for_pid(pid) < 0) {
|
||||
close(pipes[0]);
|
||||
SYSERROR("execing criu failed, is it installed?");
|
||||
return false;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user