From 8e74c9df19d5c9cb349aa0d62af61de2d0975888 Mon Sep 17 00:00:00 2001 From: Matt Fleming Date: Mon, 28 Mar 2011 17:47:37 +0100 Subject: [PATCH] ldlinux: Perform auto-boot if NOESCAPE set in config file The previous logic for detecting when to perform an auto-boot was incorrect, we should try to auto-boot if NOESCAPE is set in the config file. Signed-off-by: Matt Fleming --- com32/elflink/ldlinux/ldlinux.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/com32/elflink/ldlinux/ldlinux.c b/com32/elflink/ldlinux/ldlinux.c index 85066b1..a23b2f3 100644 --- a/com32/elflink/ldlinux/ldlinux.c +++ b/com32/elflink/ldlinux/ldlinux.c @@ -65,7 +65,7 @@ static int ldlinux_main(int argc, char **argv) /* * Auto boot */ - if (defaultlevel || !noescape) { + if (defaultlevel || noescape) { if (defaultlevel) { load_kernel(); /* Shouldn't return */ } else { -- 2.7.4