jail: fix false return in case of nofail mount
authorDaniel Golle <daniel@makrotopia.org>
Mon, 13 Jul 2020 23:40:20 +0000 (00:40 +0100)
committerDaniel Golle <daniel@makrotopia.org>
Mon, 13 Jul 2020 23:40:20 +0000 (00:40 +0100)
commit8d5208f044ba9c8cd871f8cea9719fc699604a49
tree1227229a8d0d00cb0dfa5ba4d65d0f07321e237d
parentb2230e4ff28b29472d0a232fee5d9f4168390b52
jail: fix false return in case of nofail mount

In some cases mounts could still fail eventhough 'nofail' was set.
Make sure to always return successfull also in those cases.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
jail/fs.c