X-Git-Url: http://git.grml.org/?a=blobdiff_plain;f=chroot-script;h=95f3ef666a9884ab06fa6df6aab1be97127b7c4a;hb=53ed3b4e9a30baacaba084299f6dd5d05e1272d2;hp=71335a56ebf3ff57488307b662ba9b34ef1c2940;hpb=105ae6f490e3585802ab02bf0a9cfb447500ed75;p=grml-debootstrap.git diff --git a/chroot-script b/chroot-script index 71335a5..95f3ef6 100755 --- a/chroot-script +++ b/chroot-script @@ -619,7 +619,7 @@ efi_setup() { mkdir -p /boot/efi echo "Mounting $EFI on /boot/efi" - mount "$EFI" /boot/efi || return 1 + mount "$EFI" /boot/efi # if efivarfs kernel module is loaded, but efivars isn't, # then we need to mount efivarfs for efibootmgr usage @@ -629,7 +629,7 @@ efi_setup() { fi echo "Invoking efibootmgr" - efibootmgr || return 1 + efibootmgr } # grub configuration/installation {{{ @@ -676,7 +676,7 @@ grub_install() { return 0 fi - efi_setup || return 1 + efi_setup if [ -n "$EFI" ] ; then GRUB_PACKAGE=grub-efi-amd64