[kernel] export rescan_partitions to prevent linking failures in block2mtd (#6741)
[openwrt.git] / package / base-files / files / lib / preinit / 20_device_fs_mount
index 6b2a6e8..f82f9a6 100644 (file)
@@ -15,7 +15,7 @@ do_mount_udev() {
 }
 
 choose_device_fs() {
-    if grep devfs /proc/filesystems > /dev/null; then
+    if grep -q devfs /proc/filesystems; then
         do_mount_devfs
     elif [ -x /sbin/hotplug2 ]; then
         do_mount_hotplug
This page took 0.020885 seconds and 4 git commands to generate.