Commit 83d29d4
committed
ktest.pl: Give back console on Ctrt^C on monitor
When monitoring the console output, the stdout is being redirected to do
so. If Ctrl^C is hit during this mode, the stdout is not back to the
console, the user does not see anything they type (no echo).
Add "end_monitor" to the SIGINT interrupt handler to give back the console
on Ctrl^C.
Cc: stable@vger.kernel.org
Fixes: 9f2cdcb ("ktest: Give console process a dedicated tty")
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>1 parent e8bf9b9 commit 83d29d4
1 file changed
Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4201 | 4201 | | |
4202 | 4202 | | |
4203 | 4203 | | |
| 4204 | + | |
| 4205 | + | |
| 4206 | + | |
4204 | 4207 | | |
4205 | 4208 | | |
4206 | 4209 | | |
| |||
0 commit comments