mirror of
https://github.com/xcat2/xNBA.git
synced 2024-11-22 09:31:51 +00:00
[shell_banner] Avoid printing Ctrl-B prompt if BANNER_TIMEOUT <= 0
Signed-off-by: Marty Connor <mdc@etherboot.org>
This commit is contained in:
parent
5eea94e0a9
commit
422f3a6116
@ -41,6 +41,10 @@ int shell_banner ( void ) {
|
||||
int wait_count;
|
||||
int key;
|
||||
|
||||
if ( BANNER_TIMEOUT <= 0 ) {
|
||||
return enter_shell;
|
||||
}
|
||||
|
||||
printf ( "\nPress Ctrl-B for the gPXE command line..." );
|
||||
|
||||
/* Wait for key */
|
||||
|
Loading…
Reference in New Issue
Block a user