]> git.ipfire.org Git - thirdparty/lxc.git/commitdiff
c/r: complain when criu isn't exec()'d correctly
authorTycho Andersen <tycho.andersen@canonical.com>
Wed, 6 May 2015 15:25:31 +0000 (09:25 -0600)
committerStéphane Graber <stgraber@ubuntu.com>
Wed, 1 Jul 2015 16:55:23 +0000 (12:55 -0400)
Signed-off-by: Tycho Andersen <tycho.andersen@canonical.com>
Acked-by: Serge E. Hallyn <serge.hallyn@ubuntu.com>
src/lxc/criu.c

index 1913473e8231547d94ca05956ab6b5a632cdec41..5fbe7cbad5bff3e59f9ea65f3f3eeb13a79f7cfa 100644 (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;
                }