From 71669720a3ca995672841b78201fe19ede9ae9b7 Mon Sep 17 00:00:00 2001 From: Ralph Castain Date: Thu, 25 Nov 2010 15:32:48 +0000 Subject: [PATCH] Just get the output once on sigpipe error, and include the fd This commit was SVN r24092. --- orte/mca/ess/hnp/ess_hnp_module.c | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/orte/mca/ess/hnp/ess_hnp_module.c b/orte/mca/ess/hnp/ess_hnp_module.c index 887d6e4ba8..e7f80f56de 100644 --- a/orte/mca/ess/hnp/ess_hnp_module.c +++ b/orte/mca/ess/hnp/ess_hnp_module.c @@ -1058,16 +1058,10 @@ static int sigpipe_error_count=0; static void epipe_signal_callback(int fd, short flags, void *arg) { sigpipe_error_count++; - if (1 == sigpipe_error_count) { - /* announce it */ - OPAL_OUTPUT_VERBOSE((1, orte_debug_verbosity, - "%s reports a SIGPIPE error on fd %d", - ORTE_NAME_PRINT(ORTE_PROC_MY_NAME), fd)); - } if (10 < sigpipe_error_count) { /* time to abort */ - opal_output(0, "%s: SIGPIPE detected - aborting", orte_basename); + opal_output(0, "%s: SIGPIPE detected on fd %d - aborting", orte_basename, fd); abort_exit_callback(0, 0, 0); }