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

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