mirror of
https://github.com/fastfetch-cli/fastfetch.git
synced 2026-09-13 02:42:09 +02:00
Processing (Linux): reports command not found earlier
This commit is contained in:
@@ -128,6 +128,8 @@ const char* ffProcessSpawn(char* const argv[], bool useStdErr, FFProcessHandle*
|
||||
{
|
||||
close(pipes[0]);
|
||||
close(pipes[1]);
|
||||
if (ret == ENOENT)
|
||||
return "command not found";
|
||||
return "posix_spawnp() failed";
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user