|
Lines 492-497
do_exec_no_pty(Session *s, const char *c
Link Here
|
| 492 |
close(err[0]); |
492 |
close(err[0]); |
| 493 |
|
493 |
|
| 494 |
/* |
494 |
/* |
|
|
495 |
* Clear loginmsg, since it's the child's responsibility to display |
| 496 |
* it to the user, otherwise multiple sessions may accumulate |
| 497 |
* multiple copies of the login messages. |
| 498 |
*/ |
| 499 |
buffer_clear(&loginmsg); |
| 500 |
|
| 501 |
/* |
| 495 |
* Enter the interactive session. Note: server_loop must be able to |
502 |
* Enter the interactive session. Note: server_loop must be able to |
| 496 |
* handle the case that fdin and fdout are the same. |
503 |
* handle the case that fdin and fdout are the same. |
| 497 |
*/ |
504 |
*/ |