13 lines
422 B
Diff
13 lines
422 B
Diff
diff -up ./src/programs/pkttyagent.c.ori ./src/programs/pkttyagent.c
|
|
--- ./src/programs/pkttyagent.c.ori 2019-09-27 16:52:24.377434038 +0200
|
|
+++ ./src/programs/pkttyagent.c 2019-09-27 16:53:01.743875350 +0200
|
|
@@ -56,7 +56,7 @@ static void tty_handler(int signal)
|
|
|
|
if (tty_flags_saved)
|
|
{
|
|
- tcsetattr (fileno (tty), TCSAFLUSH, &ts);
|
|
+ tcsetattr (fileno (tty), TCSADRAIN, &ts);
|
|
}
|
|
|
|
kill(getpid(), signal);
|