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

This commit is contained in:
Tom Overlund 2026-04-07 07:54:55 -04:00 committed by GitHub
parent edd4d9bca5
commit 2a619f6fbc
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
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");
}