summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-apps/mlocate/files/mlocate.cron-r2')
-rw-r--r--sys-apps/mlocate/files/mlocate.cron-r22
1 files changed, 1 insertions, 1 deletions
diff --git a/sys-apps/mlocate/files/mlocate.cron-r2 b/sys-apps/mlocate/files/mlocate.cron-r2
index 51cb504977e2..cf42104a45a1 100644
--- a/sys-apps/mlocate/files/mlocate.cron-r2
+++ b/sys-apps/mlocate/files/mlocate.cron-r2
@@ -28,7 +28,7 @@ fi
# check the config file
NODEVS=""
if [ ! -f /etc/updatedb.conf ]; then
- NODEVS=$(< /proc/filesystems awk '$1 == "nodev" && $2 != "rootfs" { print $2 }')
+ NODEVS=$(awk '$1 == "nodev" && $2 != "rootfs" { print $2 }' /proc/filesystems)
fi
# alter the priority of the updatedb process