Propagate fix for ROOT_DEV from bug #303531 to RESUME_DEV and REAL_LUKS

cleanup-cruft
Sebastian Pipping 14 years ago
parent aa4f05e2d3
commit b56020daf6

@ -777,7 +777,7 @@ openLUKS() {
fi
if [ "${retval}" -ne 0 ]; then
REAL_LUKS=`blkid -t "${LUKS_DEVICE}" | cut -d ":" -f 1 2>/dev/null`
REAL_LUKS=`blkid -l -t "${LUKS_DEVICE}" | cut -d ":" -f 1 2>/dev/null`
retval=$?
fi

@ -338,7 +338,7 @@ then
fi
if [ ${retval} -ne 0 ]; then
RESUME_DEV=`blkid -t "${REAL_RESUME}" | cut -d ":" -f 1 2>/dev/null`
RESUME_DEV=`blkid -l -t "${REAL_RESUME}" | cut -d ":" -f 1 2>/dev/null`
retval=$?
fi

Loading…
Cancel
Save