diff options
author | Michal Schmidt <mschmidt@redhat.com> | 2011-09-21 02:25:17 +0200 |
---|---|---|
committer | Michal Schmidt <mschmidt@redhat.com> | 2011-09-21 02:25:17 +0200 |
commit | 13230d5d3c89e866f1b9b689d41f0edc90af707a (patch) | |
tree | 2d1da4eadd7e1ebefc157ea20f0ca03487d04d45 /units/sys-kernel-config.mount | |
parent | 0d60602c3b4d4b65da672d75c6146f2ea4b27f88 (diff) |
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.
Diffstat (limited to 'units/sys-kernel-config.mount')
0 files changed, 0 insertions, 0 deletions