do not emit cryptomount without crypto UUID
This commit is contained in:
parent
7d39938474
commit
12bf557039
1 changed files with 1 additions and 1 deletions
|
@ -145,7 +145,7 @@ prepare_grub_to_access_device ()
|
||||||
done
|
done
|
||||||
|
|
||||||
if [ x$GRUB_ENABLE_CRYPTODISK = xy ]; then
|
if [ x$GRUB_ENABLE_CRYPTODISK = xy ]; then
|
||||||
for uuid in "`"${grub_probe}" --device $@ --target=cryptodisk_uuid`"; do
|
for uuid in `"${grub_probe}" --device $@ --target=cryptodisk_uuid`; do
|
||||||
echo "cryptomount -u $uuid"
|
echo "cryptomount -u $uuid"
|
||||||
done
|
done
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue