Another SSH fix

This commit is contained in:
Andrew Pamment 2017-09-15 21:21:15 +10:00
parent 09fc7109ab
commit cafc65e912

3
main.c
View File

@ -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);