david/ipxe
david
/
ipxe
Archived
1
0
Fork 0

[cmdline] Fix inconsistent and ugly code formatting in shell_banner()

Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
Michael Brown 2010-07-14 11:17:26 +01:00
parent 1e7e4c9a61
commit d15ce77267
1 changed files with 4 additions and 3 deletions

View File

@ -41,10 +41,11 @@ int shell_banner ( void ) {
int wait_count;
int key;
if ( BANNER_TIMEOUT <= 0 ) {
return enter_shell;
}
/* Skip prompt if timeout is zero */
if ( BANNER_TIMEOUT <= 0 )
return 0;
/* Display prompt */
printf ( "\nPress Ctrl-B for the iPXE command line..." );
/* Wait for key */