]> granicus.if.org Git - sudo/commitdiff
Handle SIGSTOP in addition to SIGTSTP. Fixes a problem with suspending
authorTodd C. Miller <Todd.Miller@courtesan.com>
Sun, 21 Feb 2010 15:36:50 +0000 (10:36 -0500)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Sun, 21 Feb 2010 15:36:50 +0000 (10:36 -0500)
a shell with the "suspend" builtint.

src/script.c

index b378b06997349d5251e561ea3a2b6e25ff0ba85d..a988e10177bc45774980ad7f8eead20a2dbc58b5 100644 (file)
@@ -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);