[lxc-devel] [PATCH] c/r: complain when criu isn't exec()'d correctly

Tycho Andersen tycho.andersen at canonical.com
Wed May 6 15:25:31 UTC 2015


Signed-off-by: Tycho Andersen <tycho.andersen at canonical.com>
---
 src/lxc/criu.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/lxc/criu.c b/src/lxc/criu.c
index 1913473..5fbe7cb 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;
 		}
 
-- 
2.1.4



More information about the lxc-devel mailing list