mirror of
https://github.com/ipxe/ipxe
synced 2025-12-08 02:10:25 +03:00
[cmdline] Fix inconsistent and ugly code formatting in shell_banner()
Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user