From ad4a07a44eec45173feac6ac62d3bfd05c05a2bd Mon Sep 17 00:00:00 2001 From: "Todd C. Miller" Date: Sun, 21 Feb 2010 10:36:50 -0500 Subject: [PATCH] Handle SIGSTOP in addition to SIGTSTP. Fixes a problem with suspending a shell with the "suspend" builtint. --- src/script.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/script.c b/src/script.c index b378b0699..a988e1017 100644 --- a/src/script.c +++ b/src/script.c @@ -206,6 +206,7 @@ suspend_parent(int signo, struct script_buf *output) } ttymode = TERM_RAW; /* FALLTHROUGH */ + case SIGSTOP: case SIGTSTP: /* Flush any remaining output to master tty. */ flush_output(output); -- 2.50.1