mirror of
				https://github.com/tmux/tmux.git
				synced 2025-10-26 12:27:15 +00:00 
			
		
		
		
	Merge branch 'obsd-master'
This commit is contained in:
		
							
								
								
									
										2
									
								
								spawn.c
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								spawn.c
									
									
									
									
									
								
							| @@ -428,8 +428,8 @@ spawn_pane(struct spawn_context *sc, char **cause) | |||||||
| 		_exit(1); | 		_exit(1); | ||||||
|  |  | ||||||
| 	/* Clean up file descriptors and signals and update the environment. */ | 	/* Clean up file descriptors and signals and update the environment. */ | ||||||
| 	closefrom(STDERR_FILENO + 1); |  | ||||||
| 	proc_clear_signals(server_proc, 1); | 	proc_clear_signals(server_proc, 1); | ||||||
|  | 	closefrom(STDERR_FILENO + 1); | ||||||
| 	sigprocmask(SIG_SETMASK, &oldset, NULL); | 	sigprocmask(SIG_SETMASK, &oldset, NULL); | ||||||
| 	log_close(); | 	log_close(); | ||||||
| 	environ_push(child); | 	environ_push(child); | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Thomas Adam
					Thomas Adam