mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-01-09 17:38:00 +00:00
Fix Plink-doesn't-support-SUPDUP messages.
It's the backend that needs terminal emulation, not Plink.
This commit is contained in:
parent
0ec45782b5
commit
9492c9dd8d
@ -825,7 +825,8 @@ int main(int argc, char **argv)
|
|||||||
|
|
||||||
if (backvt->flags & BACKEND_NEEDS_TERMINAL) {
|
if (backvt->flags & BACKEND_NEEDS_TERMINAL) {
|
||||||
fprintf(stderr,
|
fprintf(stderr,
|
||||||
"Plink must have a terminal to run.\n");
|
"Plink doesn't support %s, which needs terminal emulation\n",
|
||||||
|
backvt->displayname);
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -398,7 +398,8 @@ int main(int argc, char **argv)
|
|||||||
|
|
||||||
if (vt->flags & BACKEND_NEEDS_TERMINAL) {
|
if (vt->flags & BACKEND_NEEDS_TERMINAL) {
|
||||||
fprintf(stderr,
|
fprintf(stderr,
|
||||||
"Plink must have a terminal to run.\n");
|
"Plink doesn't support %s, which needs terminal emulation\n",
|
||||||
|
vt->displayname);
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user