Ignore (effectively) SIGTSTP if we're already in the process of tstoping.

This commit is contained in:
Tim Vanderhoek 1998-08-03 03:11:09 +00:00
parent c3ed41584c
commit 1707aceca1
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=38031

View File

@ -211,6 +211,7 @@ psignals()
* Reset the terminal and arrange to repaint the
* screen when we get back to the main command loop.
*/
if (sigs & S_STOP) sigs &= ~(S_STOP);
(void)signal(SIGTSTP, stop);
raw_mode(1);
init();