mirror of
https://github.com/fastfetch-cli/fastfetch.git
synced 2026-09-13 02:42:09 +02:00
Processing (Linux): don't return on POLLHUP
In case child process finishs too fast
This commit is contained in:
@@ -66,10 +66,6 @@ const char* ffProcessAppendOutput(FFstrbuf* buffer, char* const argv[], bool use
|
||||
kill(childPid, SIGTERM);
|
||||
return "poll(&pollfd, 1, timeout) error";
|
||||
}
|
||||
else if (pollfd.revents & POLLHUP)
|
||||
{
|
||||
return NULL;
|
||||
}
|
||||
}
|
||||
|
||||
char str[FF_PIPE_BUFSIZ];
|
||||
|
||||
Reference in New Issue
Block a user