chiark / gitweb /
logging: Use lg_exitstatus
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Wed, 24 Sep 2014 23:50:10 +0000 (00:50 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Thu, 2 Oct 2014 15:40:16 +0000 (16:40 +0100)
commitd6ca258a8088d6c1779df1b7bf08eb8548275366
tree389df521070e97f7dda4067925d90cad293cb6f4
parentfaf1ad8824f9b8a925c942ad5bedcbff4117ec0b
logging: Use lg_exitstatus

Replace two open-coded exit status checks with calls to lg_exitstatus.

In the case of slip.c and udp.c this has no significant effect other
than a slight change to message format.

In the case of process.c, we no longer log the command's first
argument.  I consider this tolerable for simplifying the code.

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
process.c
slip.c
udp.c