diff options
-rw-r--r-- | install/autodetect | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/install/autodetect b/install/autodetect index 6b8477f..70fac56 100644 --- a/install/autodetect +++ b/install/autodetect @@ -14,8 +14,7 @@ install () local rootdev if [ -f /proc/self/mountinfo -a -x /bin/findmnt ]; then - rootdev=$(/bin/findmnt -n -u -o source /) - /sbin/blkid -u filesystem -o value -s TYPE -p "${rootdev}" 2>/dev/null + /bin/findmnt -n -u -o fstype / 2>/dev/null fi } |