runtime: cmdcall: resolve() can now re-resolve an already-resolved cmdcall
This commit is contained in:
@@ -193,10 +193,6 @@ static enum bshell_status resolve_call_target(
|
||||
struct bshell_cmdcall_p *cmdcall,
|
||||
struct bshell_runtime *rt)
|
||||
{
|
||||
if (cmdcall->cmd_type != CMDCALL_NONE) {
|
||||
return BSHELL_SUCCESS;
|
||||
}
|
||||
|
||||
fx_value *cmd_name_v = fx_array_get_ref(cmdcall->cmd_args_processed, 0);
|
||||
if (!cmd_name_v) {
|
||||
return BSHELL_ERR_BAD_STATE;
|
||||
|
||||
Reference in New Issue
Block a user