From 70f1941cf60588a812516d52a2d5e107ec8ce34d Mon Sep 17 00:00:00 2001
From: Danny Auble <da@llnl.gov>
Date: Tue, 15 Jul 2008 18:37:00 +0000
Subject: [PATCH] svn merge -r14507:14517
 https://eris.llnl.gov/svn/slurm/branches/slurm-1.2

---
 NEWS            | 1 +
 src/srun/srun.c | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/NEWS b/NEWS
index 3ae9c50a8cd..56161021f6a 100644
--- a/NEWS
+++ b/NEWS
@@ -399,6 +399,7 @@ documents those changes that are of interest to users and admins.
  -- Cancelled or Failed jobs will now report there job and step id on exit
  -- Add SPANK items available to get: SLURM_VERSION, SLURM_VERSION_MAJOR,
     SLURM_VERISON_MINOR and SLURM_VERSION_MICRO.
+ -- Fixed handling of SIGPIPE in srun
 
 * Changes in SLURM 1.2.32
 =========================
diff --git a/src/srun/srun.c b/src/srun/srun.c
index 73ace0e4c3b..3ae0e76d9c1 100644
--- a/src/srun/srun.c
+++ b/src/srun/srun.c
@@ -1106,7 +1106,7 @@ static int _setup_signals()
 {
 	int sigarray[] = {
 		SIGINT,  SIGQUIT, /*SIGTSTP,*/ SIGCONT, SIGTERM,
-		SIGALRM, SIGUSR1, SIGUSR2, SIGPIPE, 0
+		SIGALRM, SIGUSR1, SIGUSR2, /* SIGPIPE,*/ 0
 	};
 	int rc = SLURM_SUCCESS, i=0, signo;
 
-- 
GitLab