summaryrefslogtreecommitdiffstats
path: root/tsak/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tsak/main.cpp')
-rw-r--r--tsak/main.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/tsak/main.cpp b/tsak/main.cpp
index 8397ea261..fe8373182 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<MAX_KEYBOARDS; i++) {
child_pids[i] = 0;
}