From 8838366b9aeeaf19c78f2b11886cfcd17fce3d86 Mon Sep 17 00:00:00 2001 From: Paul Kulchenko Date: Sun, 20 Mar 2022 10:57:24 -0700 Subject: [PATCH] Allow ProgramUniprocess to be set on Windows --- tool/net/redbean.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/tool/net/redbean.c b/tool/net/redbean.c index 94349998e..ce32ba9a9 100644 --- a/tool/net/redbean.c +++ b/tool/net/redbean.c @@ -5153,9 +5153,7 @@ static int LuaProgramUniprocess(lua_State *L) { return luaL_argerror(L, 1, "invalid uniprocess mode; boolean expected"); lua_pushboolean(L, uniprocess); - if (!IsWindows()) { // uniprocess can't be disabled on Windows yet - if (lua_isboolean(L, 1)) uniprocess = lua_toboolean(L, 1); - } + if (lua_isboolean(L, 1)) uniprocess = lua_toboolean(L, 1); return 1; }