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

Fix recognition mechanism for failed slurm_send_rc_msg().

parent d0d9f08b
No related branches found
No related tags found
No related merge requests found
...@@ -484,7 +484,7 @@ _rpc_ping(slurm_msg_t *msg, slurm_addr *cli_addr) ...@@ -484,7 +484,7 @@ _rpc_ping(slurm_msg_t *msg, slurm_addr *cli_addr)
* If the reply request fails, we send an registration message to * If the reply request fails, we send an registration message to
* slurmctld in hopes of avoiding having the node set DOWN due to * slurmctld in hopes of avoiding having the node set DOWN due to
* slurmd paging and not being able to respond in a timely fashion. */ * slurmd paging and not being able to respond in a timely fashion. */
if (slurm_send_rc_msg(msg, rc)) { if (slurm_send_rc_msg(msg, rc) < 0) {
error("Error responding to ping: %m"); error("Error responding to ping: %m");
send_registration_msg(SLURM_SUCCESS); send_registration_msg(SLURM_SUCCESS);
} }
......
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