add missing luaS_exitshr call

This commit is contained in:
sanikoyes
2015-09-14 18:03:04 +08:00
parent 6c33f7bc44
commit 846d55eaef

View File

@@ -611,6 +611,7 @@ int main (int argc, char **argv) {
result = lua_toboolean(L, -1); /* get result */
report(L, status);
lua_close(L);
luaS_exitshr();
return (result && status == LUA_OK) ? EXIT_SUCCESS : EXIT_FAILURE;
}