mirror of
https://git.proxmox.com/git/mirror_lxc
synced 2025-08-06 00:21:41 +00:00
console: they are really not necessary
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
This commit is contained in:
parent
ba2861ff76
commit
8d81a3c87f
@ -398,10 +398,8 @@ static int lxc_console_peer_proxy_alloc(struct lxc_console *console, int sockfd)
|
||||
/* this is the proxy pty that will be given to the client, and that
|
||||
* the real pty master will send to / recv from
|
||||
*/
|
||||
process_lock();
|
||||
ret = openpty(&console->peerpty.master, &console->peerpty.slave,
|
||||
console->peerpty.name, NULL, NULL);
|
||||
process_unlock();
|
||||
if (ret) {
|
||||
SYSERROR("failed to create proxy pty");
|
||||
return -1;
|
||||
|
Loading…
Reference in New Issue
Block a user