summaryrefslogtreecommitdiffstats
path: root/tsak
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-03-05 15:03:52 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-03-05 15:03:52 -0600
commit696fe6318f5758b5a4aef724444bbf18b860469c (patch)
treea041906e77a6e10d530f9ad14c817b14ca929877 /tsak
parent5486d8e2a8ed86dc1fa421a46b4e3cd8b796e1ea (diff)
downloadtdebase-696fe6318f5758b5a4aef724444bbf18b860469c.tar.gz
tdebase-696fe6318f5758b5a4aef724444bbf18b860469c.zip
Fix tdm logfile growing rapidly under certain conditions
Diffstat (limited to 'tsak')
-rw-r--r--tsak/main.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/tsak/main.cpp b/tsak/main.cpp
index 8397ea26..fe837318 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;
}