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

o call fatal() instead of job_fatal() on failure to allocate job step

parent 756aeb2a
No related branches found
No related tags found
No related merge requests found
...@@ -302,10 +302,10 @@ create_job_step(job_t *job) ...@@ -302,10 +302,10 @@ create_job_step(job_t *job)
job_step_create_response_msg_t *resp = NULL; job_step_create_response_msg_t *resp = NULL;
if (!(req = _step_req_create(job))) if (!(req = _step_req_create(job)))
job_fatal (job, "Unable to allocate step request message"); fatal ("Unable to allocate step request message");
if ((slurm_job_step_create(req, &resp) < 0) || (resp == NULL)) if ((slurm_job_step_create(req, &resp) < 0) || (resp == NULL))
job_fatal (job, "Unable to create job step: %m"); fatal ("Unable to create job step: %m");
job->stepid = resp->job_step_id; job->stepid = resp->job_step_id;
job->cred = resp->cred; job->cred = resp->cred;
......
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