summaryrefslogtreecommitdiff
path: root/core/src/xmake/process/waitlist.c
diff options
context:
space:
mode:
authorruki <[email protected]>2016-07-13 08:03:24 +0800
committerruki <[email protected]>2016-07-13 08:03:24 +0800
commitc0f02d4654ea2b46732eacbacce8fc9ee80c6e9a (patch)
treea7704df913c302e91917051c74cefec64dadcc10 /core/src/xmake/process/waitlist.c
parent0f7173fe7610408d1f947517e48447a4b0fd4461 (diff)
add process interfaces into sandbox
Diffstat (limited to 'core/src/xmake/process/waitlist.c')
-rwxr-xr-xcore/src/xmake/process/waitlist.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/src/xmake/process/waitlist.c b/core/src/xmake/process/waitlist.c
index 15e065628..a2d461401 100755
--- a/core/src/xmake/process/waitlist.c
+++ b/core/src/xmake/process/waitlist.c
@@ -118,7 +118,7 @@ tb_int_t xm_process_waitlist(lua_State* lua)
// save process info count
lua_pushinteger(lua, infosize);
- if (infosize > 0)
+ if (infosize >= 0)
{
// save process info list
lua_newtable(lua);