From 3e556b984c7769a25b301871bc788daecb6d6d4e Mon Sep 17 00:00:00 2001 From: Aaron Gyes Date: Mon, 22 Aug 2022 13:55:44 -0700 Subject: [PATCH] I need to take a break. Fixup. --- src/env_dispatch.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/env_dispatch.cpp b/src/env_dispatch.cpp index 42a9c63df..e6f61f3a3 100644 --- a/src/env_dispatch.cpp +++ b/src/env_dispatch.cpp @@ -271,7 +271,7 @@ static constexpr bool allow_use_posix_spawn() { static relaxed_atomic_bool_t g_use_posix_spawn{false}; bool get_use_posix_spawn() { - assert(allow_use_posix_spawn() && "get_use_posix_spawn() called but not allowed"); + assert(allow_use_posix_spawn() && g_use_posix_spawn && "get_use_posix_spawn() called but not allowed"); return g_use_posix_spawn; }