summaryrefslogtreecommitdiffhomepage
path: root/svr-chansession.c
diff options
context:
space:
mode:
authorMatt Johnston <matt@ucc.asn.au>2013-08-12 22:41:00 +0800
committerMatt Johnston <matt@ucc.asn.au>2013-08-12 22:41:00 +0800
commite7917c16c95e878aa33ff32144044b72ee41a11f (patch)
tree0b6fccd797939e42a80bdc73044b90d948a06fa2 /svr-chansession.c
parente05b7f0b76b12f742b10304f70b7318cacdab5cb (diff)
Remove accidental one second sleep leftover from debugging
Diffstat (limited to 'svr-chansession.c')
-rw-r--r--svr-chansession.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/svr-chansession.c b/svr-chansession.c
index 88a4b85..5dd5540 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) {