From: Michael Prokop Date: Fri, 15 Jul 2016 10:16:51 +0000 (+0200) Subject: Hide errors during loading of efivars module X-Git-Tag: v0.76~7 X-Git-Url: https://git.grml.org/?p=grml-debootstrap.git;a=commitdiff_plain;h=12f4a35be8bcb52492d3745ac21c4a482bedb948;hp=536bf6d82cfe7b351b3860e8c8871e572c35631e;ds=sidebyside Hide errors during loading of efivars module If efivars can't be loaded then EFI support isn't present, but don't display the error message of the module loading to the user. --- diff --git a/grml-debootstrap b/grml-debootstrap index 9a67754..13d6536 100755 --- a/grml-debootstrap +++ b/grml-debootstrap @@ -794,7 +794,7 @@ efi_support() { return 0 fi - if modprobe efivars ; then + if modprobe efivars &>/dev/null ; then einfo "EFI support enabled now." ; eend 0 return 0 fi