Blame SOURCES/polkit-0.115-pkttyagent-tcsaflush-batch-erase.patch

bf4e26
diff -up ./src/programs/pkttyagent.c.ori ./src/programs/pkttyagent.c
bf4e26
--- ./src/programs/pkttyagent.c.ori	2019-09-27 14:14:35.096310576 +0200
bf4e26
+++ ./src/programs/pkttyagent.c	2019-09-27 14:14:56.988586737 +0200
bf4e26
@@ -55,7 +55,7 @@ static void tty_handler(int signal)
bf4e26
 
bf4e26
   if (tty_flags_saved)
bf4e26
   {
bf4e26
-    tcsetattr (fileno (tty), TCSAFLUSH, &ts);
bf4e26
+    tcsetattr (fileno (tty), TCSADRAIN, &ts);
bf4e26
   }
bf4e26
 
bf4e26
   kill(getpid(), signal);