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

changes/05/105/3
Matt Jordan 11 years ago committed by Gerrit Code Review
commit 9f5ba58332

@ -143,7 +143,7 @@ static char *handle_cdr_pgsql_status(struct ast_cli_entry *e, int cmd, struct as
return NULL; return NULL;
} }
if (a->argc != 3) if (a->argc != e->args)
return CLI_SHOWUSAGE; return CLI_SHOWUSAGE;
if (connected) { if (connected) {

Loading…
Cancel
Save