mirror of
https://github.com/clearml/dropbear
synced 2025-01-31 10:57:01 +00:00
reset terminal modes before printing a message
This commit is contained in:
parent
2fdb5fd6ce
commit
3ec4670478
@ -82,14 +82,12 @@ out:
|
||||
|
||||
/* If the main session goes, we close it up */
|
||||
static void cli_closechansess(struct Channel *UNUSED(channel)) {
|
||||
cli_tty_cleanup(); /* Restore tty modes etc */
|
||||
|
||||
/* This channel hasn't gone yet, so we have > 1 */
|
||||
if (ses.chancount > 1) {
|
||||
dropbear_log(LOG_INFO, "Waiting for other channels to close...");
|
||||
}
|
||||
|
||||
cli_tty_cleanup(); /* Restore tty modes etc */
|
||||
|
||||
}
|
||||
|
||||
void cli_start_send_channel_request(struct Channel *channel,
|
||||
|
Loading…
Reference in New Issue
Block a user