mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-07-01 11:32:48 -05:00
New backend flag for needing a terminal.
This commit is contained in:

committed by
Simon Tatham

parent
e2b0e90c8c
commit
ad6987e1b1
@ -820,6 +820,12 @@ int main(int argc, char **argv)
|
||||
return 1;
|
||||
}
|
||||
|
||||
if (backvt->flags & BACKEND_NEEDS_TERMINAL) {
|
||||
fprintf(stderr,
|
||||
"Plink must have a terminal to run.\n");
|
||||
return 1;
|
||||
}
|
||||
|
||||
/*
|
||||
* Block SIGPIPE, so that we'll get EPIPE individually on
|
||||
* particular network connections that go wrong.
|
||||
|
Reference in New Issue
Block a user