mirror of
				https://github.com/asterisk/asterisk.git
				synced 2025-10-31 02:37:10 +00:00 
			
		
		
		
	cdr_pgsql: Fix CLI "cdr show pgsql status" command.
The command always showed the usage information. * Fix the error in command validation for CLI_SHOWUSAGE. ASTERISK-24959 #close Reported by: Rodrigo Ramirez Norambuena Change-Id: I584f0936bb01001336a468a55c1d05d79fe795d5
This commit is contained in:
		
				
					committed by
					
						 Richard Mudgett
						Richard Mudgett
					
				
			
			
				
	
			
			
			
						parent
						
							a573b77f78
						
					
				
				
					commit
					23a180cade
				
			| @@ -143,7 +143,7 @@ static char *handle_cdr_pgsql_status(struct ast_cli_entry *e, int cmd, struct as | ||||
| 		return NULL; | ||||
| 	} | ||||
|  | ||||
| 	if (a->argc != 3) | ||||
| 	if (a->argc != e->args) | ||||
| 		return CLI_SHOWUSAGE; | ||||
|  | ||||
| 	if (connected) { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user