Change the behavior of -fstype so as not to terminate the process
authorYONETANI Tomokazu <y0netan1@dragonflybsd.org>
Sun, 13 Mar 2005 22:22:42 +0000 (22:22 +0000)
committerYONETANI Tomokazu <y0netan1@dragonflybsd.org>
Sun, 13 Mar 2005 22:22:42 +0000 (22:22 +0000)
commit00a0ead88e3b856b49bc34aa4c3d8b0d80940600
tree66cb84e8d16e08596b5f6f8726ce93ff6684df85
parent9793c8195b66b2ccc42b2c2ddb59f26b97ce3d36
Change the behavior of -fstype so as not to terminate the process
when statfs() failed(meaning that it couldn't type a filesystem),
but report false and continue. This fixes locate.updatedb program
failing on a mounted-but-unavailable mountpoint unless such a
mountpoint is explicitly specified in PRUNEPATHS.

Reported-by: Rumko <rumcic (at) gmail.com>
Ok: Matt
usr.bin/find/function.c