Message ID | 1308853655-12407-2-git-send-email-jason.hobbs@calxeda.com |
---|---|
State | Accepted |
Commit | 370d1e3e58a42d834c4ba9e1c3f44e346bef44df |
Headers | show |
diff --git a/common/main.c b/common/main.c index dcbacc9..f05ee53 100644 --- a/common/main.c +++ b/common/main.c @@ -406,15 +406,15 @@ void main_loop (void) # ifdef CONFIG_MENUKEY if (menukey == CONFIG_MENUKEY) { - s = getenv("menucmd"); - if (s) { + s = getenv("menucmd"); + if (s) { # ifndef CONFIG_SYS_HUSH_PARSER - run_command (s, 0); + run_command(s, 0); # else - parse_string_outer(s, FLAG_PARSE_SEMICOLON | - FLAG_EXIT_FROM_LOOP); + parse_string_outer(s, FLAG_PARSE_SEMICOLON | + FLAG_EXIT_FROM_LOOP); # endif - } + } } #endif /* CONFIG_MENUKEY */ #endif /* CONFIG_BOOTDELAY */
Signed-off-by: Jason Hobbs <jason.hobbs@calxeda.com> --- changes in v2: - new in v2 common/main.c | 12 ++++++------ 1 files changed, 6 insertions(+), 6 deletions(-)