Skip to content
Snippets Groups Projects
Commit 80a9df11 authored by Morris Jette's avatar Morris Jette
Browse files

Change task/cray logging to "error()"

The fprintf(stderr will generally fail as stderr will usually be closed.
parent 37ee8012
No related branches found
No related tags found
No related merge requests found
...@@ -369,7 +369,7 @@ extern int task_p_post_term (stepd_step_rec_t *job, ...@@ -369,7 +369,7 @@ extern int task_p_post_term (stepd_step_rec_t *job,
// Check the result // Check the result
if (status == 0) { if (status == 0) {
// Cancel the job step, since we didn't find the exiting msg // Cancel the job step, since we didn't find the exiting msg
fprintf(stderr, "Terminating job step, task %d improper exit\n", error("Terminating job step, task %d improper exit",
job->envtp->procid); job->envtp->procid);
slurm_terminate_job_step(job->jobid, job->stepid); slurm_terminate_job_step(job->jobid, job->stepid);
} }
......
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