mirror of
				https://github.com/tmux/tmux.git
				synced 2025-11-04 09:44:18 +00:00 
			
		
		
		
	Fix bug where end guard in control mode was not printed after session
destroyed, from George Nachman.
This commit is contained in:
		@@ -158,7 +158,7 @@ cmdq_guard(struct cmd_q *cmdq, const char *guard)
 | 
				
			|||||||
{
 | 
					{
 | 
				
			||||||
	struct client	*c = cmdq->client;
 | 
						struct client	*c = cmdq->client;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	if (c == NULL || c->session == NULL)
 | 
						if (c == NULL)
 | 
				
			||||||
		return 0;
 | 
							return 0;
 | 
				
			||||||
	if (!(c->flags & CLIENT_CONTROL))
 | 
						if (!(c->flags & CLIENT_CONTROL))
 | 
				
			||||||
		return 0;
 | 
							return 0;
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user