mirror of
https://git.proxmox.com/git/mirror_lxc
synced 2025-08-15 10:12:24 +00:00
Fix lxc-console hang
The variable 'descr' is mistakenly covered with 'descr_console'. Signed-off-by: LiFeng <lifeng68@huawei.com>
This commit is contained in:
parent
4d46764248
commit
a54585adf7
@ -540,6 +540,8 @@ int lxc_poll(const char *name, struct lxc_handler *handler)
|
|||||||
ERROR("Failed to add console handlers to console mainloop");
|
ERROR("Failed to add console handlers to console mainloop");
|
||||||
goto out_mainloop_console;
|
goto out_mainloop_console;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
handler->conf->console.descr = &descr;
|
||||||
}
|
}
|
||||||
|
|
||||||
ret = lxc_cmd_mainloop_add(name, &descr, handler);
|
ret = lxc_cmd_mainloop_add(name, &descr, handler);
|
||||||
|
Loading…
Reference in New Issue
Block a user