chiark / gitweb /
speaker process terminating is fatal
authorRichard Kettlewell <rjk@greenend.org.uk>
Sun, 30 Sep 2007 16:41:55 +0000 (17:41 +0100)
committerRichard Kettlewell <rjk@greenend.org.uk>
Sun, 30 Sep 2007 16:41:55 +0000 (17:41 +0100)
server/play.c

index 3b3b928..be25dda 100644 (file)
@@ -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 */