From e590a493ead9a21e356215b5394172717b0f615d Mon Sep 17 00:00:00 2001 From: devsk Date: Tue, 11 Jan 2011 13:20:40 +0100 Subject: [PATCH] Pick first device when several devices are matching real_root (bug #303531) --- defaults/linuxrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/defaults/linuxrc b/defaults/linuxrc index adaab62..1fc733b 100755 --- a/defaults/linuxrc +++ b/defaults/linuxrc @@ -436,7 +436,7 @@ do fi if [ ${retval} -ne 0 ]; then - ROOT_DEV=`blkid -t "${REAL_ROOT}" | cut -d ":" -f 1 2>/dev/null` + ROOT_DEV=`blkid -l -t "${REAL_ROOT}" | cut -d ":" -f 1 2>/dev/null` retval=$? fi -- 2.26.2