From 107e968247f2f44ff54a72d0281b974a7926ca44 Mon Sep 17 00:00:00 2001 From: midipix Date: Sun, 17 Jul 2016 10:26:30 -0400 Subject: pty layer: always open both ends of the pty channel. --- src/pty/ptyc_pty_ctx.c | 6 ------ 1 file changed, 6 deletions(-) (limited to 'src/pty') diff --git a/src/pty/ptyc_pty_ctx.c b/src/pty/ptyc_pty_ctx.c index f903523..f0e416d 100644 --- a/src/pty/ptyc_pty_ctx.c +++ b/src/pty/ptyc_pty_ctx.c @@ -196,12 +196,6 @@ int ptyc_alloc_pty(struct ptyc_driver_ctx * dctx) return ptyc_set_status( dctx,status); - if (!dctx->units[0] - && !(cctx->drvflags & PTYC_DRIVER_DBG_OVEN) - && !(cctx->drvflags & PTYC_DRIVER_DBG_RAW)) - return ptyc_set_status( - dctx,NT_STATUS_SUCCESS); - if ((status = ptyc_pts_open(cctx))) return ptyc_set_status( dctx,status); -- cgit v1.2.3