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
This commit is contained in:
Corey Farrell
2017-12-18 13:23:46 -05:00
parent eb23919e69
commit 731a23fba7

View File

@@ -1391,6 +1391,8 @@ static char *handle_core_set_debug_channel(struct ast_cli_entry *e, int cmd, str
} else if (a->pos == 5) { } else if (a->pos == 5) {
return ast_cli_complete(a->word, completions_off, a->n); return ast_cli_complete(a->word, completions_off, a->n);
} }
return NULL;
} }
if (cmd == (CLI_HANDLER + 1000)) { if (cmd == (CLI_HANDLER + 1000)) {