Skip to content
Snippets Groups Projects
Commit b569dd10 authored by Danny Auble's avatar Danny Auble
Browse files

Merge remote-tracking branch 'origin/slurm-2.6'

parents b4df4ba2 d1056efb
No related branches found
No related tags found
No related merge requests found
...@@ -2425,6 +2425,14 @@ _rpc_stat_jobacct(slurm_msg_t *msg) ...@@ -2425,6 +2425,14 @@ _rpc_stat_jobacct(slurm_msg_t *msg)
req_uid = g_slurm_auth_get_uid(msg->auth_cred, NULL); req_uid = g_slurm_auth_get_uid(msg->auth_cred, NULL);
stepd_info = _get_job_step_info(req->job_id); stepd_info = _get_job_step_info(req->job_id);
if (!stepd_info) {
error("stat_jobacct For invalid job_id: %u",
req->job_id);
if (msg->conn_fd >= 0)
slurm_send_rc_msg(msg, ESLURM_INVALID_JOB_ID);
return ESLURM_INVALID_JOB_ID;
}
protocol_version = stepd_info->protocol_version; protocol_version = stepd_info->protocol_version;
job_uid = stepd_info->uid; job_uid = stepd_info->uid;
xfree(stepd_info); xfree(stepd_info);
......
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