summaryrefslogtreecommitdiffstats
path: root/install
diff options
context:
space:
mode:
Diffstat (limited to 'install')
-rw-r--r--install/autodetect2
1 files changed, 1 insertions, 1 deletions
diff --git a/install/autodetect b/install/autodetect
index 6c9193c..63e85c2 100644
--- a/install/autodetect
+++ b/install/autodetect
@@ -14,7 +14,7 @@ install ()
findfs ()
{
for blkdev in $(find /dev -type b | grep -v -e /dev/loop -e /dev/ram -e /dev/fd); do
- (eval $(/sbin/blkid -o udev -p "${blkdev}"); [ "${ID_FS_USAGE}" = "filesystem" ] && echo $ID_FS_TYPE)
+ /sbin/blkid -u filesystem -o value -s TYPE -p "${blkdev}" 2> /dev/null
done
}