remove unecessary assertion

This commit is contained in:
takase1121 2021-07-08 15:05:12 +08:00
parent 60d3f2cac1
commit 8995a2614f
1 changed files with 1 additions and 1 deletions

View File

@ -313,7 +313,7 @@ static int f_wait(lua_State* L)
int ret = poll_process(self, timeout); int ret = poll_process(self, timeout);
// negative returncode is also used for signals on POSIX // negative returncode is also used for signals on POSIX
if (ret == REPROC_ETIMEDOUT) if (ret == REPROC_ETIMEDOUT)
ASSERT_REPROC_ERRNO(L, ret); L_RETURN_REPROC_ERROR(L, ret);
lua_pushnumber(L, ret); lua_pushnumber(L, ret);
return 1; return 1;