On 4/26/22 02:27, marcandre.lur...@redhat.com wrote:
From: Marc-André Lureau<marcandre.lur...@redhat.com>

Suggested-by: Daniel P. Berrangé<berra...@redhat.com>
Signed-off-by: Marc-André Lureau<marcandre.lur...@redhat.com>
---
  os-posix.c | 3 +--
  1 file changed, 1 insertion(+), 2 deletions(-)

Reviewed-by: Richard Henderson <richard.hender...@linaro.org>


-        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