From 12f4a35be8bcb52492d3745ac21c4a482bedb948 Mon Sep 17 00:00:00 2001 From: Michael Prokop Date: Fri, 15 Jul 2016 12:16:51 +0200 Subject: [PATCH] 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. --- grml-debootstrap | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.1.4