Merge branch 'master' of github.com:cloudwu/skynet

This commit is contained in:
Cloud Wu
2015-09-15 14:52:44 +08:00

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;
}