Pick first device when several devices are matching real_root (bug #303531)

cleanup-cruft
devsk 14 years ago committed by Sebastian Pipping
parent 5a7012ced6
commit e590a493ea

@ -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

Loading…
Cancel
Save