summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/core/main.c9
1 files changed, 3 insertions, 6 deletions
diff --git a/src/core/main.c b/src/core/main.c
index 88fbb579..3295feaf 100644
--- a/src/core/main.c
+++ b/src/core/main.c
@@ -29,14 +29,11 @@ __cdecl int main ( void ) {
initialise();
startup();
- /* Try autobooting if we're not going straight to the shell */
- if ( ! shell_banner() ) {
+ if ( shell_banner() )
+ shell();
+ else
autoboot();
- }
- /* Autobooting failed or the user wanted the shell */
- shell();
-
shutdown();
return 0;