Skip to content
Snippets Groups Projects
Commit c98cab26 authored by Mark Grondona's avatar Mark Grondona
Browse files

o don't bother printing error message if signal() returns ESRCH

parent 272c13a7
No related branches found
No related tags found
No related merge requests found
...@@ -336,7 +336,7 @@ static void * _p_signal_task(void *args) ...@@ -336,7 +336,7 @@ static void * _p_signal_task(void *args)
* Report error unless it is "Invalid job id" which * Report error unless it is "Invalid job id" which
* probably just means the tasks exited in the meanwhile. * probably just means the tasks exited in the meanwhile.
*/ */
if ((rc != 0) && (rc != ESLURM_INVALID_JOB_ID)) if ((rc != 0) && (rc != ESLURM_INVALID_JOB_ID) && (rc != ESRCH))
error("%s: signal: %s", host, slurm_strerror(rc)); error("%s: signal: %s", host, slurm_strerror(rc));
done: done:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment