mirror of
				https://github.com/tmux/tmux.git
				synced 2025-11-04 00:56:10 +00:00 
			
		
		
		
	Accidentally turned off pledge, turn it back on.
This commit is contained in:
		
							
								
								
									
										2
									
								
								tmux.c
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								tmux.c
									
									
									
									
									
								
							@@ -255,7 +255,7 @@ main(int argc, char **argv)
 | 
			
		||||
	if (shell_cmd != NULL && argc != 0)
 | 
			
		||||
		usage();
 | 
			
		||||
 | 
			
		||||
	if (0 && pledge("stdio rpath wpath cpath flock fattr unix sendfd recvfd "
 | 
			
		||||
	if (pledge("stdio rpath wpath cpath flock fattr unix sendfd recvfd "
 | 
			
		||||
	    "proc exec tty ps", NULL) != 0)
 | 
			
		||||
		err(1, "pledge");
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user