ggml: Vulkan build, Linux -- output error string for errno on fork failure (#20868) (llama/20904)

This commit is contained in:
Tom Overlund 2026-04-07 07:54:55 -04:00 committed by Georgi Gerganov
parent 18c98ffaf7
commit 78b4fd85e1
No known key found for this signature in database
GPG Key ID: 449E073F9DC10735
1 changed files with 1 additions and 0 deletions

View File

@ -137,6 +137,7 @@ void execute_command(std::vector<std::string>& command, std::string& stdout_str,
pid_t pid = fork();
if (pid < 0) {
std::cerr << strerror(errno) << "\n";
throw std::runtime_error("Failed to fork process");
}