Skip to content
Commit dee00c19 authored by Lennart Poettering's avatar Lennart Poettering
Browse files

fs-util,tmpfiles: fix error handling of fchmod_opath()

When 4dfaa528 was first commited its callers relied on `errno` instead of the
return value for error reporting. Which worked fine, since internally
under all conditions base were set — even if ugly and not inline with
our coding style. Things then got broken in
f8606626 where suddenly additional
syscalls might end up being done in the function, thus corrupting `errno`.
parent bae66f4b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment