qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH 06/10] vl: exit if we are not able to write into the


From: Juan Quintela
Subject: [Qemu-devel] [PATCH 06/10] vl: exit if we are not able to write into the pipe
Date: Wed, 3 Mar 2010 13:06:56 +0100

Signed-off-by: Juan Quintela <address@hidden>
---
 vl.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/vl.c b/vl.c
index db7a178..119c7e4 100644
--- a/vl.c
+++ b/vl.c
@@ -5745,6 +5745,7 @@ int main(int argc, char **argv, char **envp)
             uint8_t status = 1;
             if (write(fds[1], &status, 1) != 1) {
                 perror("daemonize. Writing to pipe\n");
+                exit(1);
             }
         } else
 #endif
-- 
1.6.5.2





reply via email to

[Prev in Thread] Current Thread [Next in Thread]