Merge "cdr_pgsql: Fix CLI "cdr show pgsql status" command."

This commit is contained in:
Matt Jordan 2015-04-14 11:39:55 -05:00 committed by Gerrit Code Review
commit 9f5ba58332
1 changed files with 1 additions and 1 deletions

View File

@ -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) {