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>
Mon, 29 Sep 2014 15:20:01 +0000 (16:20 +0100)
commit16ae6c00a6bff617084422a89d645bbd475501e5
treebcfaac1718911d863393c730234fce37d0561f60
parenteb03ce73b16901703bc8c8d9c98b6ebafd406883
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