summaryrefslogtreecommitdiff
path: root/src/cgls
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2019-07-23 10:27:19 +0200
committerLennart Poettering <lennart@poettering.net>2019-07-23 16:08:06 +0200
commit81280b2a6fbad079b5d72f48160bf1d492cc8e57 (patch)
tree9ab6cdef248d27766a399f4e9c38bb1312e38399 /src/cgls
parent09f300c4d0dbeb0aae98d30eb2214d4f425527e9 (diff)
downloadsystemd-81280b2a6fbad079b5d72f48160bf1d492cc8e57.tar.gz
systemd-81280b2a6fbad079b5d72f48160bf1d492cc8e57.tar.bz2
systemd-81280b2a6fbad079b5d72f48160bf1d492cc8e57.zip
logind: rework allocation/freeing of inhibitors
Let's follow our modern style (i.e. return proper errors, use structure initialization and _cleanup_). Most importantly: remove state file and FIFO removal from inhibitor_free() and let's move it to inhibitor_stop(). This makes sure that state files/FIFOs are not removed when the we terminate logind, i.e. that they can survive logind restarts. Fixes: #11825
Diffstat (limited to 'src/cgls')
0 files changed, 0 insertions, 0 deletions