mirror of
				https://github.com/tmux/tmux.git
				synced 2025-11-04 09:26:05 +00:00 
			
		
		
		
	Add exit-empty option to exit server if no sessions (defaults to on).
This commit is contained in:
		@@ -97,6 +97,12 @@ const struct options_table_entry options_table[] = {
 | 
			
		||||
	  .default_num = 500
 | 
			
		||||
	},
 | 
			
		||||
 | 
			
		||||
	{ .name = "exit-empty",
 | 
			
		||||
	  .type = OPTIONS_TABLE_FLAG,
 | 
			
		||||
	  .scope = OPTIONS_TABLE_SERVER,
 | 
			
		||||
	  .default_num = 1
 | 
			
		||||
	},
 | 
			
		||||
 | 
			
		||||
	{ .name = "exit-unattached",
 | 
			
		||||
	  .type = OPTIONS_TABLE_FLAG,
 | 
			
		||||
	  .scope = OPTIONS_TABLE_SERVER,
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user