diff options
Diffstat (limited to 'commands/go.c')
-rw-r--r-- | commands/go.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/commands/go.c b/commands/go.c index 6082fe54e3..bc984c8ae0 100644 --- a/commands/go.c +++ b/commands/go.c @@ -62,7 +62,11 @@ static int do_go(struct command *cmdtp, int argc, char *argv[]) func = addr; shutdown_barebox(); - func(argc - 1, &argv[1]); + + if (do_execute) + do_execute(func, argc - 1, &argv[1]); + else + func(argc - 1, &argv[1]); /* * The application returned. Since we have shutdown barebox and |