aboutsummaryrefslogtreecommitdiffstats
path: root/com32/lua
diff options
context:
space:
mode:
authorFerenc Wágner <wferi@niif.hu>2014-10-12 16:46:20 +0200
committerFerenc Wágner <wferi@niif.hu>2014-10-13 10:45:19 +0200
commit681b0775572467bfa0b8987eec130b4e2b984296 (patch)
tree3212e24bad61b6953d3af8dd9d6e9949a5aec222 /com32/lua
parent6100996c0a73ee03daa44d537d799a2f2cfa501e (diff)
downloadsyslinux-681b0775572467bfa0b8987eec130b4e2b984296.tar.gz
syslinux-681b0775572467bfa0b8987eec130b4e2b984296.tar.xz
syslinux-681b0775572467bfa0b8987eec130b4e2b984296.zip
lua: don't do a local boot when asked to final_cleanup
Signed-off-by: Ferenc Wágner <wferi@niif.hu>
Diffstat (limited to 'com32/lua')
-rw-r--r--com32/lua/src/syslinux.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/com32/lua/src/syslinux.c b/com32/lua/src/syslinux.c
index 09373a02..fa236470 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;
}