mirror of
https://git.proxmox.com/git/mirror_lxc
synced 2025-07-27 06:21:08 +00:00
Merge pull request #2158 from lifeng68/Fix_lxc-console
Fix lxc-console hang
This commit is contained in:
commit
b251b0fe43
@ -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