Be sure to not trigger the SIGCHLD
Signed-off-by: Martin Bremmer <martin.bremmer@adlinktech.com>
This commit is contained in:
		
							parent
							
								
									289322a33d
								
							
						
					
					
						commit
						5a04db973a
					
				
					 1 changed files with 3 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -181,6 +181,9 @@ ddsrt_proc_create(
 | 
			
		|||
    goto fail_fctl;
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
  /* Be sure to not trigger the SIGCHLD. */
 | 
			
		||||
  signal(SIGCHLD, SIG_DFL);
 | 
			
		||||
 | 
			
		||||
  /* Create a new process. */
 | 
			
		||||
  spawn = fork();
 | 
			
		||||
  if (spawn == -1)
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue