Ignore "-o nonempty" (#582)
authorStephen Kitt <steve@sk2.org>
Thu, 28 Jan 2021 21:51:10 +0000 (22:51 +0100)
committerGitHub <noreply@github.com>
Thu, 28 Jan 2021 21:51:10 +0000 (21:51 +0000)
commitb9e3ea01dbbbba9518da216dd29c042af871ae31
tree2722fbcbfcf61998eec6fb9aac11cc40c3304024
parentd35470382b50aa10e4e81697b23183b50ee45941
Ignore "-o nonempty" (#582)

Commit 0bef21e8543d removed "-o nonempty" since mounting over
non-empty directories is always allowed. But this broke tools which
specify "-o nonempty". Since the expected behaviour is the same
anyway, ignoring the "nonempty" option seems safe, and allows programs
specifying "-o nonempty" to continue working with fusermount3.

This would fix https://bugs.debian.org/939767

Signed-off-by: Stephen Kitt <steve@sk2.org>
ChangeLog.rst
util/fusermount.c