mirror of
https://github.com/cloudwu/skynet.git
synced 2026-07-24 12:20:41 +00:00
bugfix: pop error message when load file not exist
This commit is contained in:
@@ -93,6 +93,7 @@ _try_load(lua_State *L, const char * path, int pathlen, const char * name) {
|
||||
lua_pop(L,1);
|
||||
return 0;
|
||||
} else if (r == LUA_ERRFILE) {
|
||||
lua_pop(L,1);
|
||||
return -1;
|
||||
}
|
||||
return 1;
|
||||
|
||||
Reference in New Issue
Block a user