diff options
author | Thomas Hindoe Paaboel Andersen <phomes@gmail.com> | 2015-08-13 23:36:08 +0200 |
---|---|---|
committer | Thomas Hindoe Paaboel Andersen <phomes@gmail.com> | 2015-08-13 23:53:49 +0200 |
commit | 88231eb62cafc8bb51406919c8cf6019dc1ac916 (patch) | |
tree | 366a3334e21b37251b9bfb07a9404b153edddabf /shell-completion/zsh | |
parent | 3326332eb9d4eac00c4e543fcdde9e5c0720c23d (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 'shell-completion/zsh')
0 files changed, 0 insertions, 0 deletions