[syslinux:master] lua: don' t do a local boot when asked to final_cleanup

syslinux-bot for Ferenc Wágner wferi at niif.hu
Sat Feb 14 11:09:26 PST 2015


Commit-ID:  681b0775572467bfa0b8987eec130b4e2b984296
Gitweb:     http://www.syslinux.org/commit/681b0775572467bfa0b8987eec130b4e2b984296
Author:     Ferenc Wágner <wferi at niif.hu>
AuthorDate: Sun, 12 Oct 2014 16:46:20 +0200
Committer:  Ferenc Wágner <wferi at niif.hu>
CommitDate: Mon, 13 Oct 2014 10:45:19 +0200

lua: don't do a local boot when asked to final_cleanup

Signed-off-by: Ferenc Wágner <wferi at niif.hu>

---
 com32/lua/src/syslinux.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/com32/lua/src/syslinux.c b/com32/lua/src/syslinux.c
index 09373a0..fa23647 100644
--- a/com32/lua/src/syslinux.c
+++ b/com32/lua/src/syslinux.c
@@ -130,8 +130,7 @@ static int sl_local_boot(lua_State * L)
 
 static int sl_final_cleanup(lua_State * L)
 {
-    uint16_t flags = luaL_checkint(L, 1);
-    syslinux_local_boot(flags);
+    syslinux_final_cleanup (luaL_checkint (L, 1));
     return 0;
 }
 


More information about the Syslinux-commits mailing list