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>
Wed, 8 Oct 2014 17:25:18 +0000 (18:25 +0100)
commit4ac7fd3ff73c98100d8a8546668d0212e4af3ffa
tree683e466f72de5594ce6c42ca7de9c189068538d4
parent45736f7396593c2f4ef9ebf35c561e7a32111f63
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