Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[cmdline] Fix inconsistent and ugly code formatting in shell_banner()
Signed-off-by: Michael Brown <mcb30@ipxe.org>
  • Loading branch information
mcb30 committed Jul 14, 2010
1 parent 1e7e4c9 commit d15ce77
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/hci/shell_banner.c
Expand Up @@ -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 */
Expand Down

0 comments on commit d15ce77

Please sign in to comment.