diff --git a/svr-chansession.c b/svr-chansession.c index 88a4b85fea19af1e8dad6838914a152132fe6fce..5dd5540b5002ad05eb6078e178aa6d91d57ff0c6 100644 --- a/svr-chansession.c +++ b/svr-chansession.c @@ -699,8 +699,6 @@ static int noptycommand(struct Channel *channel, struct ChanSess *chansess) { ses.maxfd = MAX(ses.maxfd, channel->readfd); ses.maxfd = MAX(ses.maxfd, channel->errfd); - sleep(1); - addchildpid(chansess, chansess->pid); if (svr_ses.lastexit.exitpid != -1) {