diff options
Diffstat (limited to 'source4/torture')
-rw-r--r-- | source4/torture/torture.c | 3 |
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); |