diff options
Diffstat (limited to 'src/helper/command.c')
-rw-r--r-- | src/helper/command.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/helper/command.c b/src/helper/command.c index 0afbe2cc..7a3c2d4f 100644 --- a/src/helper/command.c +++ b/src/helper/command.c @@ -1037,7 +1037,7 @@ static int command_unknown(Jim_Interp *interp, int argc, Jim_Obj *const *argv) /* pass the command through to the intended handler */ if (c->jim_handler) { if (!command_can_run(cmd_ctx, c)) - return ERROR_FAIL; + return JIM_ERR; interp->cmdPrivData = c->jim_handler_data; return (*c->jim_handler)(interp, count, start); |