mirror of
https://github.com/ipxe/ipxe
synced 2025-12-10 13:32:20 +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 wait_count;
|
||||||
int key;
|
int key;
|
||||||
|
|
||||||
if ( BANNER_TIMEOUT <= 0 ) {
|
/* Skip prompt if timeout is zero */
|
||||||
return enter_shell;
|
if ( BANNER_TIMEOUT <= 0 )
|
||||||
}
|
return 0;
|
||||||
|
|
||||||
|
/* Display prompt */
|
||||||
printf ( "\nPress Ctrl-B for the iPXE command line..." );
|
printf ( "\nPress Ctrl-B for the iPXE command line..." );
|
||||||
|
|
||||||
/* Wait for key */
|
/* Wait for key */
|
||||||
|
|||||||
Reference in New Issue
Block a user