chiark / gitweb /
Add some handling to remaining unlinkat calls
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Fri, 16 Feb 2018 06:00:22 +0000 (07:00 +0100)
committerSven Eden <yamakuzure@gmx.net>
Wed, 30 May 2018 05:58:58 +0000 (07:58 +0200)
commitf524b0c01c82f6b41935e891fd0692c509fad9b9
tree5f63aaffad81ecfbe931c1674d37d986ede04566
parentbe2283cf9e565994ae6db0db57a555c6db704fe0
Add some handling to remaining unlinkat calls

Coverity now started warning about this ("Calling unlinkat without checking
return value (as is done elsewhere 12 out of 15 times).", and it is right:
most of the time we should at list print a log message so people can figure
out something is wrong when this happens.

v2:
- use warning level in journald too (this is unlikely to happen ever, so it
  should be safe to something that is visible by default).
src/login/logind.c