Daemon: fix handling of errors from xread and xwrite.
authorRichard Jones <rjones@trick.home.annexia.org>
Thu, 17 Sep 2009 14:28:41 +0000 (15:28 +0100)
committerRichard Jones <rjones@trick.home.annexia.org>
Thu, 17 Sep 2009 15:05:39 +0000 (16:05 +0100)
If xread or xwrite returns -1, that indicates an error and we
should exit.  Note that xread/xwrite has already printed the
error message.


No differences found