diff options
author | Corey Farrell <git@cfware.com> | 2017-12-18 13:23:46 -0500 |
---|---|---|
committer | Corey Farrell <git@cfware.com> | 2017-12-18 12:35:54 -0600 |
commit | 18c8dda84310d149b489b03663e94de542f91157 (patch) | |
tree | 6cb6e67f3f1177b6ec374c78b6db8a731479c412 | |
parent | eed4e0ce7871f6bf74ad27e486659311b3e3f1a3 (diff) |
CLI: Fix 'core set debug channel' completion bug.
The completion generator is missing a return so typing "core set debug
all off <tab>" causes the command to actually execute.
Change-Id: Ibf6462088a74eee66967732b50445783ebefc20b
-rw-r--r-- | main/cli.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/main/cli.c b/main/cli.c index 0f023b29f..654134eff 100644 --- a/main/cli.c +++ b/main/cli.c @@ -1418,6 +1418,8 @@ static char *handle_core_set_debug_channel(struct ast_cli_entry *e, int cmd, str } else if (a->pos == 5) { return ast_cli_complete(a->word, completions_off, a->n); } + + return NULL; } if (cmd == (CLI_HANDLER + 1000)) { |