update mount.c, in order to pass through -n.
authorCiaran <ciaran@hypokrites.me>
Wed, 21 Dec 2022 00:44:50 +0000 (16:44 -0800)
committerNikolaus Rath <Nikolaus@rath.org>
Mon, 2 Jan 2023 10:53:24 +0000 (10:53 +0000)
commit40b0cf9029e9c4d314c12200022e0e81ea8f99da
tree106a50edc79ac82bdcc3e724daf288d1a76e55df
parent5aaec929a4e4fe1f3113e4dc6a1469090511207b
update mount.c, in order to pass through -n.

autofs uses automount, which calls fuse, during an sshfs call. fuse complains about -n being an unknown option (ref. https://github.com/libfuse/libfuse/issues/715)
this one line edit provides the command to be accepted, and pass through, allowing autofs-automount to operate on the mount, even though it is already in the mtab, given the nature of autofs/automount.
lib/mount.c