mirror of
				https://github.com/tmux/tmux.git
				synced 2025-11-04 00:56:10 +00:00 
			
		
		
		
	Do not require that there be no other clients before loading the config,
being the first client is enough. GitHub issue 2438.
This commit is contained in:
		@@ -2252,13 +2252,13 @@ server_client_dispatch_identify(struct client *c, struct imsg *imsg)
 | 
				
			|||||||
	}
 | 
						}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	/*
 | 
						/*
 | 
				
			||||||
	 * If this is the first client that has finished identifying, load
 | 
						 * If this is the first client, load configuration files. Any later
 | 
				
			||||||
	 * configuration files.
 | 
						 * clients are allowed to continue with their command even if the
 | 
				
			||||||
 | 
						 * config has not been loaded - they might have been run from inside it
 | 
				
			||||||
	 */
 | 
						 */
 | 
				
			||||||
	if ((~c->flags & CLIENT_EXIT) &&
 | 
						if ((~c->flags & CLIENT_EXIT) &&
 | 
				
			||||||
	     !cfg_finished &&
 | 
						     !cfg_finished &&
 | 
				
			||||||
	    c == TAILQ_FIRST(&clients) &&
 | 
						     c == TAILQ_FIRST(&clients))
 | 
				
			||||||
	    TAILQ_NEXT(c, entry) == NULL)
 | 
					 | 
				
			||||||
		start_cfg();
 | 
							start_cfg();
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user