chiark / gitweb /
service: minor change in service_load_pid_file return value
authorMichal Schmidt <mschmidt@redhat.com>
Wed, 21 Sep 2011 00:25:17 +0000 (02:25 +0200)
committerMichal Schmidt <mschmidt@redhat.com>
Wed, 21 Sep 2011 00:25:17 +0000 (02:25 +0200)
commit13230d5d3c89e866f1b9b689d41f0edc90af707a
tree2d1da4eadd7e1ebefc157ea20f0ca03487d04d45
parent0d60602c3b4d4b65da672d75c6146f2ea4b27f88
service: minor change in service_load_pid_file return value

Return 0 only if the PID was really loaded. If no PIDFile= is defined,
return -ENOENT.

Only one caller cares about the return value of this function and this
change makes the usage nicer.
src/service.c