From 64eb427c5d125e35ee92a2fdb15c6632e580bf2b Mon Sep 17 00:00:00 2001 From: Egor Tsyganchuk Date: Wed, 24 Sep 2025 08:13:19 +0300 Subject: [PATCH] Fixed a build error for single-threaded Linux --- src/utils/os_unix.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/utils/os_unix.c b/src/utils/os_unix.c index 679f3a0..1587223 100644 --- a/src/utils/os_unix.c +++ b/src/utils/os_unix.c @@ -823,9 +823,9 @@ int os_exec(const char *program, const char *arg, int wait_completion) pid_t pid; int pid_status; - pid = fork(); + pid = vfork(); if (pid < 0) { - perror("fork"); + perror("vfork"); return -1; }