Commit 4eae4051 by Tycho Andersen Committed by Stéphane Graber

c/r: complain when criu isn't exec()'d correctly

parent 7f794820
...@@ -239,6 +239,7 @@ static bool criu_version_ok() ...@@ -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;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment