From: Christian Brauner Date: Sat, 10 Feb 2018 11:54:31 +0000 (+0100) Subject: console: they are really not necessary X-Git-Tag: lxc-2.0.10~338 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6dfb2260783b2741b10b2cf767e385a4a295dd90;p=thirdparty%2Flxc.git console: they are really not necessary Signed-off-by: Christian Brauner --- diff --git a/src/lxc/console.c b/src/lxc/console.c index 5ee4984c0..c233d9bd8 100644 --- a/src/lxc/console.c +++ b/src/lxc/console.c @@ -390,10 +390,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;