mirror of https://github.com/ipxe/ipxe.git
[shell_banner] Avoid printing Ctrl-B prompt if BANNER_TIMEOUT <= 0
Signed-off-by: Marty Connor <mdc@etherboot.org>pull/1/head
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