mirror of
https://git.savannah.gnu.org/git/grub.git
synced 2026-10-25 08:39:28 +00:00
do not emit cryptomount without crypto UUID
This commit is contained in:
1 parent
7d39938474
commit
12bf557039
1 file changed
+1
-1
@@ -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
|
||||||
|
|||||||
Reference in new issue
Block a user