1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-01-09 01:18:00 +00:00

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.
This commit is contained in:
Simon Tatham 2021-09-15 06:00:02 +01:00
parent 65270b56f0
commit e5b6aba63a

View File

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