From 7acff658210f62ddd1d02c1385f635e0c35f5a3d Mon Sep 17 00:00:00 2001
From: Moe Jette <jette1@llnl.gov>
Date: Wed, 2 Jul 2008 21:48:19 +0000
Subject: [PATCH] clarify JOB_FAILED message

---
 src/slurmd/slurmstepd/req.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/slurmd/slurmstepd/req.c b/src/slurmd/slurmstepd/req.c
index 0556fc0f39a..c0e69eb9f14 100644
--- a/src/slurmd/slurmstepd/req.c
+++ b/src/slurmd/slurmstepd/req.c
@@ -735,7 +735,8 @@ _handle_signal_container(int fd, slurmd_job_t *job, uid_t uid)
 			error("*** %s CANCELLED DUE TO NODE FAILURE ***", entity);
 			msg_sent = 1;
 		} else if (sig == SIG_FAILURE) {
-			error("*** %s CANCELLED DUE TO SYSTEM FAILURE ***", entity);
+			error("*** %s FAILED (non-zero exit code or other "
+			      "failure mode) ***", entity);
 			msg_sent = 1;
 		} else if ((sig == SIGTERM) || (sig == SIGKILL)) {
 			error("*** %s CANCELLED ***", entity);
-- 
GitLab