From a7dff39a3f3b09ae2ac98dfec0b4386de053b3a1 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Mon, 5 Mar 2012 15:03:52 -0600 Subject: Fix kdm logfile growing rapidly under certain conditions (cherry picked from commit 696fe6318f5758b5a4aef724444bbf18b860469c) --- tsak/main.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'tsak/main.cpp') diff --git a/tsak/main.cpp b/tsak/main.cpp index 3cbc3d81a..ec23dd181 100644 --- a/tsak/main.cpp +++ b/tsak/main.cpp @@ -357,6 +357,9 @@ int main (int argc, char *argv[]) int current_keyboard; bool can_proceed; + // Ignore SIGPIPE + signal(SIGPIPE, SIG_IGN); + for (i=0; i