From patchwork Wed Mar 3 12:06:56 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [06/10] vl: exit if we are not able to write into the pipe Date: Wed, 03 Mar 2010 02:06:56 -0000 From: Juan Quintela X-Patchwork-Id: 46795 Message-Id: To: qemu-devel@nongnu.org Cc: kwolf@redhat.com, amit.shah@redhat.com Signed-off-by: Juan Quintela --- 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