aboutsummaryrefslogtreecommitdiffstats
path: root/com32/elflink/ldlinux
diff options
context:
space:
mode:
Diffstat (limited to 'com32/elflink/ldlinux')
-rw-r--r--com32/elflink/ldlinux/ldlinux.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/com32/elflink/ldlinux/ldlinux.c b/com32/elflink/ldlinux/ldlinux.c
index 2e4d08a5..9b01dd3a 100644
--- a/com32/elflink/ldlinux/ldlinux.c
+++ b/com32/elflink/ldlinux/ldlinux.c
@@ -337,7 +337,10 @@ __export int main(int argc __unused, char **argv)
ldlinux_enter_command();
}
- if (!shift_is_held() && (!forceprompt || defaultlevel > 1))
+ if (!forceprompt && !shift_is_held())
+ ldlinux_auto_boot();
+
+ if (defaultlevel > 1)
ldlinux_auto_boot();
ldlinux_enter_command();