mirror of
				https://github.com/tmux/tmux.git
				synced 2025-11-04 00:56:10 +00:00 
			
		
		
		
	fix an off-by-one
ok nicm@
This commit is contained in:
		@@ -57,7 +57,7 @@ cmd_set_environment_exec(struct cmd *self, struct cmd_ctx *ctx)
 | 
			
		||||
		return (CMD_RETURN_ERROR);
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
	if (args->argc < 1)
 | 
			
		||||
	if (args->argc < 2)
 | 
			
		||||
		value = NULL;
 | 
			
		||||
	else
 | 
			
		||||
		value = args->argv[1];
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user