summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
Diffstat (limited to 'source4')
-rw-r--r--source4/torture/torture.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/source4/torture/torture.c b/source4/torture/torture.c
index 455cadd3a1..9955c9e958 100644
--- a/source4/torture/torture.c
+++ b/source4/torture/torture.c
@@ -2598,6 +2598,9 @@ static void max_runtime_handler(int sig)
setbuffer(stdout, NULL, 0);
#endif
+ /* we are never interested in SIGPIPE */
+ BlockSignals(True,SIGPIPE);
+
pc = poptGetContext("smbtorture", argc, (const char **) argv, long_options,
POPT_CONTEXT_KEEP_FIRST);