summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--usr.bin/locate/locate/updatedb.csh2
-rw-r--r--usr.bin/locate/locate/updatedb.sh2
2 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/locate/locate/updatedb.csh b/usr.bin/locate/locate/updatedb.csh
index fef2d6d..155dd75 100644
--- a/usr.bin/locate/locate/updatedb.csh
+++ b/usr.bin/locate/locate/updatedb.csh
@@ -57,7 +57,7 @@ set errs = $TMPDIR/locate.errs.$$
# search locally or everything
# find ${SRCHPATHS} -print | \
-find ${SRCHPATHS} \! -fstype local -prune -or -print | \
+find ${SRCHPATHS} \! -fstype ufs -prune -or -print | \
tr '/' '\001' | \
(sort -T $TMPDIR -f; echo $status > $errs) | tr '\001' '/' > $filelist
diff --git a/usr.bin/locate/locate/updatedb.sh b/usr.bin/locate/locate/updatedb.sh
index bcd3456..af9eb47 100644
--- a/usr.bin/locate/locate/updatedb.sh
+++ b/usr.bin/locate/locate/updatedb.sh
@@ -60,7 +60,7 @@ ERRS="$TMPDIR/locate.errs.$$"
# search locally or everything
# find ${SRCHPATHS} -print | \
-find ${SRCHPATHS} ! -fstype local -prune -or -print | \
+find ${SRCHPATHS} ! -fstype ufs -prune -or -print | \
tr '/' '\001' | \
(sort -T $TMPDIR -f; echo $? > $ERRS) | tr '\001' '/' > $FILELIST
OpenPOWER on IntegriCloud