From cafc65e912b3b981e92fc0fe388f2211f340d35c Mon Sep 17 00:00:00 2001 From: Andrew Pamment Date: Fri, 15 Sep 2017 21:21:15 +1000 Subject: [PATCH] Another SSH fix --- main.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/main.c b/main.c index b2ef55a..a97ebd8 100644 --- a/main.c +++ b/main.c @@ -854,6 +854,9 @@ void serverssh(int port) { tios.c_iflag &= INLCR; tcsetattr(STDIN_FILENO, TCSAFLUSH, &tios); runbbs_ssh(ip); + while (1) { + sleep(100); + } exit(0); } free(ip);