On 4/26/22 02:27, [email protected] wrote:
From: Marc-André Lureau<[email protected]>

Suggested-by: Daniel P. Berrangé<[email protected]>
Signed-off-by: Marc-André Lureau<[email protected]>
---
  os-posix.c | 3 +--
  1 file changed, 1 insertion(+), 2 deletions(-)

Reviewed-by: Richard Henderson <[email protected]>


-        if (pipe(fds) == -1) {
+        if (!g_unix_open_pipe(fds, FD_CLOEXEC, NULL)) {
             exit(1);
         }

We could do better than exit without error message, though pipe failure is 
pretty rare.


r~

Reply via email to