From c4f417497fa4509ca57369a46aafeca949db8d68 Mon Sep 17 00:00:00 2001 From: Moe Jette <jette1@llnl.gov> Date: Wed, 9 Nov 2005 17:44:15 +0000 Subject: [PATCH] Remove error message on signal of job step that has since exited. --- src/common/global_srun.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/common/global_srun.c b/src/common/global_srun.c index 2e6fb95c68a..4534034e467 100644 --- a/src/common/global_srun.c +++ b/src/common/global_srun.c @@ -205,7 +205,8 @@ static void * _p_signal_task(void *args) * Report error unless it is "Invalid job id" which * probably just means the tasks exited in the meanwhile. */ - if ((rc != 0) && (rc != ESLURM_INVALID_JOB_ID) && (rc != ESRCH)) { + if ((rc != 0) && (rc != ESLURM_INVALID_JOB_ID) + && (rc != ESLURMD_JOB_NOTRUNNING) && (rc != ESRCH)) { error("%s: signal: %s", host, slurm_strerror(rc)); } -- GitLab