Skip to content
Snippets Groups Projects
Commit 17db1aa0 authored by tewk's avatar tewk
Browse files

fixed another fork vs return issue

parent 152fa5b2
No related branches found
No related tags found
No related merge requests found
...@@ -97,7 +97,7 @@ int interconnect_set_capabilities ( task_start_t * task_start ) ...@@ -97,7 +97,7 @@ int interconnect_set_capabilities ( task_start_t * task_start )
return SLURM_ERROR ; return SLURM_ERROR ;
case 0: /* child falls thru */ case 0: /* child falls thru */
return SLURM_SUCCESS ; return SLURM_SUCCESS ;
break; _exit( 0 );
default: /* parent */ default: /* parent */
if (waitpid(pid, NULL, 0) < 0) if (waitpid(pid, NULL, 0) < 0)
{ {
......
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