mirror of
https://git.proxmox.com/git/mirror_lxc
synced 2025-07-14 19:09:16 +00:00
Fix error message when cannot find an lxc-init
lxc-init has been renamed init.lxc so adapt error message Signed-off-by: Nicolas Cornu <ncornu@aldebaran.com>
This commit is contained in:
parent
e00f9e4e7a
commit
1e1d1dcaf6
@ -64,7 +64,7 @@ static int execute_start(struct lxc_handler *handler, void* data)
|
|||||||
|
|
||||||
initpath = choose_init(NULL);
|
initpath = choose_init(NULL);
|
||||||
if (!initpath) {
|
if (!initpath) {
|
||||||
ERROR("Failed to find an lxc-init");
|
ERROR("Failed to find an lxc-init or init.lxc");
|
||||||
goto out2;
|
goto out2;
|
||||||
}
|
}
|
||||||
argv[i++] = initpath;
|
argv[i++] = initpath;
|
||||||
|
Loading…
Reference in New Issue
Block a user