From 726ff1f9466847cbe27e807cf79560070651781c Mon Sep 17 00:00:00 2001 From: Thomas Bächler Date: Thu, 30 Jun 2011 22:18:44 +0200 Subject: init_functions/default_mount_handler: use -l option for blkid to avoid syntax errors in a later mount command Fixes FS#24969. --- init_functions | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3-24-g4f1b