summaryrefslogtreecommitdiff
path: root/src/unit.c
diff options
context:
space:
mode:
authorMichal Schmidt <mschmidt@redhat.com>2011-09-21 02:25:17 +0200
committerMichal Schmidt <mschmidt@redhat.com>2011-09-21 02:25:17 +0200
commit13230d5d3c89e866f1b9b689d41f0edc90af707a (patch)
tree2d1da4eadd7e1ebefc157ea20f0ca03487d04d45 /src/unit.c
parent0d60602c3b4d4b65da672d75c6146f2ea4b27f88 (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 'src/unit.c')
0 files changed, 0 insertions, 0 deletions