summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--init_functions2
1 files changed, 1 insertions, 1 deletions
diff --git a/init_functions b/init_functions
index 22c01f0..fe29961 100644
--- a/init_functions
+++ b/init_functions
@@ -75,7 +75,7 @@ parse_cmdline() {
default_mount_handler() {
# resolve tag name to block device
if [ "${root:0:5}" = 'UUID=' ] || [ "${root:0:6}" = 'LABEL=' ]; then
- device=$(blkid -t "$root" -o device)
+ device=$(blkid -l -t "$root" -o device)
if [ -n "$device" ]; then
root=$device
fi