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:
Tycho Andersen 2015-05-06 09:25:31 -06:00 committed by Stéphane Graber
parent 7f7948206b
commit 4eae405138

View File

@ -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;
}