mirror of
https://git.proxmox.com/git/mirror_lxc
synced 2025-08-07 16:59:08 +00:00
start: non-functional changes
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
This commit is contained in:
parent
24945df77b
commit
4d1ffb0abb
@ -739,11 +739,12 @@ int lxc_init(const char *name, struct lxc_handler *handler)
|
|||||||
TRACE("set up signal fd");
|
TRACE("set up signal fd");
|
||||||
|
|
||||||
/* Do this after setting up signals since it might unblock SIGWINCH. */
|
/* Do this after setting up signals since it might unblock SIGWINCH. */
|
||||||
if (lxc_console_create(conf)) {
|
ret = lxc_console_create(conf);
|
||||||
ERROR("Failed to create console for container \"%s\".", name);
|
if (ret < 0) {
|
||||||
|
ERROR("Failed to create console");
|
||||||
goto out_restore_sigmask;
|
goto out_restore_sigmask;
|
||||||
}
|
}
|
||||||
TRACE("created console");
|
TRACE("Created console");
|
||||||
|
|
||||||
if (lxc_ttys_shift_ids(conf) < 0) {
|
if (lxc_ttys_shift_ids(conf) < 0) {
|
||||||
ERROR("Failed to shift tty into container.");
|
ERROR("Failed to shift tty into container.");
|
||||||
|
Loading…
Reference in New Issue
Block a user