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

Fixed a couple exits

parent 9cf8a105
No related branches found
No related tags found
No related merge requests found
......@@ -70,7 +70,7 @@ int forward_io ( task_start_t * task_start )
break;
default :
stdout_io_pipe_thread ( task_start ) ;
exit( 0 ) ;
_exit( 0 ) ;
break ;
}
......@@ -119,13 +119,13 @@ int launch_task ( task_start_t * task_start )
{
case -1:
slurm_perror("fork");
exit(1);
return SLURM_ERROR ;
break;
case 0:
task_exec_thread ( task_start ) ;
exit(1);
break;
_exit(0);
default:
task_start -> pthread_id = pid ;
return SLURM_SUCCESS ;
break;
......
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