summaryrefslogtreecommitdiff
path: root/src/libelogind/sd-bus/bus-message.c
diff options
context:
space:
mode:
authorThomas Hindoe Paaboel Andersen <phomes@gmail.com>2015-08-13 23:36:08 +0200
committerSven Eden <yamakuzure@gmx.net>2017-03-14 10:18:46 +0100
commit79c831b10cef03d95bf387c80c8d95f238fb2e03 (patch)
treef9b52b6e03224cfda470b4d29085bed80c2ef938 /src/libelogind/sd-bus/bus-message.c
parentc3680a99cdb25df27653116ff74b06af2aa01e94 (diff)
logind: actually fail on OOM
Since dacd6cee76a08331b8c8616c5f30f70ee49aa2f9 the two OOM's are ignored as the value of r will be overwritten and we only log in the fail section anyway. This patch jumps to fail on OOM. Note that this is different behavior compared to both the current code and previous to dacd6cee76a08331b8c8616c5f30f70ee49aa2f9. Before that commit we would log that saving the inhibit data failed, but still write the file, though without the WHO/WHY section. CID# 1313545
Diffstat (limited to 'src/libelogind/sd-bus/bus-message.c')
0 files changed, 0 insertions, 0 deletions