summaryrefslogtreecommitdiff
path: root/src/core/smack-setup.h
diff options
context:
space:
mode:
authorDavid Herrmann <dh.herrmann@gmail.com>2015-09-21 19:59:07 +0200
committerDavid Herrmann <dh.herrmann@gmail.com>2015-09-21 20:03:24 +0200
commit7ff307bc4cc81440e9ac4a2ca09c6100d76ca89a (patch)
tree82c3475724c1322d02ec6ec1ed979b90b8829721 /src/core/smack-setup.h
parentde45f28e0901fb60bcda8e2ce60a13d11400d0b1 (diff)
mount: propagate error codes correctly
Make sure to propagate error codes from mount-loops correctly. Right now, we return the return-code of the first mount that did _something_. This is not what we want. Make sure we return an error if _any_ mount fails (and then make sure to return the first error to not hide proper errors due to consequential errors like -ENOTDIR). Reported by cee1 <fykcee1@gmail.com>.
Diffstat (limited to 'src/core/smack-setup.h')
0 files changed, 0 insertions, 0 deletions