Skip to content
Snippets Groups Projects
Commit 5ea583db authored by Moe Jette's avatar Moe Jette
Browse files

Add logging of new AIX error mode.

parent 8efa650c
No related branches found
No related tags found
No related merge requests found
...@@ -718,6 +718,8 @@ static void _rpc_pid2jid(slurm_msg_t *msg, slurm_addr *cli) ...@@ -718,6 +718,8 @@ static void _rpc_pid2jid(slurm_msg_t *msg, slurm_addr *cli)
bool found = false; bool found = false;
pid_t mysid = getsid(req->job_pid); pid_t mysid = getsid(req->job_pid);
if (mysid == -1)
error("getsid: %m");
while ((mysid != -1) && (s = list_next(i))) { while ((mysid != -1) && (s = list_next(i))) {
if (s->sid == mysid) { if (s->sid == mysid) {
resp.job_id = s->jobid; resp.job_id = s->jobid;
......
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