From e5b6aba63a84b28e7dcece026db47c9ccdb47060 Mon Sep 17 00:00:00 2001 From: Simon Tatham Date: Wed, 15 Sep 2021 06:00:02 +0100 Subject: [PATCH] unix/console.c: add a missing postmsg(). When abandoning a connection due to a host key mismatch in batch mode, we'd forget to restore the termios settings. --- unix/console.c | 1 + 1 file changed, 1 insertion(+) diff --git a/unix/console.c b/unix/console.c index ffe777fd..e4e372fc 100644 --- a/unix/console.c +++ b/unix/console.c @@ -138,6 +138,7 @@ int console_verify_ssh_host_key( fprintf(stderr, common_fmt, keytype, fingerprints[fptype_default]); if (console_batch_mode) { fputs(console_abandoned_msg, stderr); + postmsg(&cf); return 0; }