From 4eae4051384ad52f03ed9248eb1c51560d115048 Mon Sep 17 00:00:00 2001 From: Tycho Andersen Date: Wed, 6 May 2015 09:25:31 -0600 Subject: [PATCH] c/r: complain when criu isn't exec()'d correctly Signed-off-by: Tycho Andersen Acked-by: Serge E. Hallyn --- src/lxc/criu.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/lxc/criu.c b/src/lxc/criu.c index 1913473e8..5fbe7cbad 100644 --- a/src/lxc/criu.c +++ b/src/lxc/criu.c @@ -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; }