mirror of
				https://github.com/tmux/tmux.git
				synced 2025-11-04 09:26:05 +00:00 
			
		
		
		
	Do not attempt to use client in config file (it will be NULL), GitHub
issue 3206.
This commit is contained in:
		@@ -84,7 +84,7 @@ cmd_run_shell_print(struct job *job, const char *msg)
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
	if (cdata->wp_id != -1)
 | 
						if (cdata->wp_id != -1)
 | 
				
			||||||
		wp = window_pane_find_by_id(cdata->wp_id);
 | 
							wp = window_pane_find_by_id(cdata->wp_id);
 | 
				
			||||||
	if (wp == NULL && cdata->item != NULL)
 | 
						if (wp == NULL && cdata->item != NULL && cdata->client != NULL)
 | 
				
			||||||
		wp = server_client_get_pane(cdata->client);
 | 
							wp = server_client_get_pane(cdata->client);
 | 
				
			||||||
	if (wp == NULL && cmd_find_from_nothing(&fs, 0) == 0)
 | 
						if (wp == NULL && cmd_find_from_nothing(&fs, 0) == 0)
 | 
				
			||||||
		wp = fs.wp;
 | 
							wp = fs.wp;
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user