From 2a6c7b7954660db70734a4485981864498f80155 Mon Sep 17 00:00:00 2001 Message-Id: <2a6c7b7954660db70734a4485981864498f80155.1714670556.git.mdw@distorted.org.uk> From: Mark Wooding Date: Sun, 30 Sep 2007 17:41:55 +0100 Subject: [PATCH 1/1] speaker process terminating is fatal Organization: Straylight/Edgeware From: Richard Kettlewell --- server/play.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/server/play.c b/server/play.c index 3b3b928..be25dda 100644 --- a/server/play.c +++ b/server/play.c @@ -87,10 +87,8 @@ static int speaker_terminated(ev_source attribute((unused)) *ev, int attribute((unused)) status, const struct rusage attribute((unused)) *rusage, void attribute((unused)) *u) { - if(status) - error(0, "speaker subprocess terminated with status %s", - wstat(status)); - return 0; + fatal(0, "speaker subprocess terminated with status %s", + wstat(status)); } /* called when speaker process has something to say */ -- [mdw]