diff options
Diffstat (limited to 'common/main.c')
| -rw-r--r-- | common/main.c | 12 | 
1 files changed, 6 insertions, 6 deletions
| diff --git a/common/main.c b/common/main.c index 01931a1bf..212452681 100644 --- a/common/main.c +++ b/common/main.c @@ -391,15 +391,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 */ |