do not emit cryptomount without crypto UUID

This commit is contained in:
Andrei Borzenkov 2015-03-28 22:13:35 +03:00
parent 7d39938474
commit 12bf557039
1 changed files with 1 additions and 1 deletions

View File

@ -145,7 +145,7 @@ prepare_grub_to_access_device ()
done
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"
done
fi