mirror of
https://github.com/xcat2/xNBA.git
synced 2024-12-25 04:31:45 +00:00
[cmdline] Fix inconsistent and ugly code formatting in shell_banner()
Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
parent
1e7e4c9a61
commit
d15ce77267
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user