diff options
Diffstat (limited to 'common/main.c')
-rw-r--r-- | common/main.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/common/main.c b/common/main.c index 637da2b4d34..6a3eac28aa7 100644 --- a/common/main.c +++ b/common/main.c @@ -1370,9 +1370,8 @@ static int builtin_run_command(const char *cmd, int flag) #endif /* OK - call function to do the command */ - if ((cmdtp->cmd) (cmdtp, flag, argc, argv) != 0) { + if (cmd_call(cmdtp, flag, argc, argv) != 0) rc = -1; - } repeatable &= cmdtp->repeatable; |