]> git.ipfire.org Git - thirdparty/lxc.git/commitdiff
Fix error message when cannot find an lxc-init
authorNicolas Cornu <ncornu@aldebaran.com>
Wed, 5 Aug 2015 07:22:24 +0000 (09:22 +0200)
committerStéphane Graber <stgraber@ubuntu.com>
Thu, 13 Aug 2015 20:01:56 +0000 (16:01 -0400)
lxc-init has been renamed init.lxc so adapt error message

Signed-off-by: Nicolas Cornu <ncornu@aldebaran.com>
src/lxc/execute.c

index d14092af514cd03837e8e30148e16dc01cfe10c7..cfc81a7613ecc276544b5a40167fe75b5a558f81 100644 (file)
@@ -64,7 +64,7 @@ static int execute_start(struct lxc_handler *handler, void* data)
 
        initpath = choose_init(NULL);
        if (!initpath) {
-               ERROR("Failed to find an lxc-init");
+               ERROR("Failed to find an lxc-init or init.lxc");
                goto out2;
        }
        argv[i++] = initpath;