From 8995a2614fc054e5dfb1db6acd190e1b19a677e9 Mon Sep 17 00:00:00 2001 From: takase1121 <20792268+takase1121@users.noreply.github.com> Date: Thu, 8 Jul 2021 15:05:12 +0800 Subject: [PATCH] remove unecessary assertion --- src/api/process.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/api/process.c b/src/api/process.c index 60b3f0b6..95d5ff63 100644 --- a/src/api/process.c +++ b/src/api/process.c @@ -313,7 +313,7 @@ static int f_wait(lua_State* L) int ret = poll_process(self, timeout); // negative returncode is also used for signals on POSIX if (ret == REPROC_ETIMEDOUT) - ASSERT_REPROC_ERRNO(L, ret); + L_RETURN_REPROC_ERROR(L, ret); lua_pushnumber(L, ret); return 1;