mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-01-09 17:38: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:
parent
65270b56f0
commit
e5b6aba63a
@ -138,6 +138,7 @@ int console_verify_ssh_host_key(
|
|||||||
fprintf(stderr, common_fmt, keytype, fingerprints[fptype_default]);
|
fprintf(stderr, common_fmt, keytype, fingerprints[fptype_default]);
|
||||||
if (console_batch_mode) {
|
if (console_batch_mode) {
|
||||||
fputs(console_abandoned_msg, stderr);
|
fputs(console_abandoned_msg, stderr);
|
||||||
|
postmsg(&cf);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user