diff options
author | Ferenc Wágner <wferi@niif.hu> | 2014-10-12 16:46:20 +0200 |
---|---|---|
committer | Ferenc Wágner <wferi@niif.hu> | 2014-10-13 10:45:19 +0200 |
commit | 681b0775572467bfa0b8987eec130b4e2b984296 (patch) | |
tree | 3212e24bad61b6953d3af8dd9d6e9949a5aec222 | |
parent | 6100996c0a73ee03daa44d537d799a2f2cfa501e (diff) | |
download | syslinux-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>
-rw-r--r-- | com32/lua/src/syslinux.c | 3 |
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; } |