Skip to content

Commit

Permalink
[secure boot]add return code verification when mounting efi
Browse files Browse the repository at this point in the history
  • Loading branch information
davidpil2002 committed Mar 6, 2023
1 parent d54f1e8 commit 7509fc5
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion installer/default_platform.conf
Original file line number Diff line number Diff line change
Expand Up @@ -369,7 +369,10 @@ demo_install_uefi_shim()
# make sure /boot/efi is mounted
if ! mount | grep -q "/boot/efi"; then
mount /boot/efi
mount /boot/efi || {
echo "Error: Unable to mount /boot/efi"
exit 1
}
fi
# Look for the EFI system partition UUID on the same block device as
Expand Down

0 comments on commit 7509fc5

Please sign in to comment.