diff --git a/ChangeLog b/ChangeLog index d81a9a6bf..c43f8a479 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2012-09-26 Colin Watson + + * util/grub-mkconfig_lib.in (is_path_readable_by_grub): Redirect + errors from grub-probe to /dev/null, not stdout. + 2012-09-26 Vladimir Serbinenko * grub-core/fs/affs.c (grub_affs_mount): Support AFFS bootblock in diff --git a/util/grub-mkconfig_lib.in b/util/grub-mkconfig_lib.in index 8f21eb26d..357483983 100644 --- a/util/grub-mkconfig_lib.in +++ b/util/grub-mkconfig_lib.in @@ -65,7 +65,7 @@ is_path_readable_by_grub () # ... or if we can't figure out the abstraction module, for example if # memberlist fails on an LVM volume group. - if abstractions="`"${grub_probe}" -t abstraction "$path"`" 2>&1 ; then + if abstractions="`"${grub_probe}" -t abstraction "$path"`" 2> /dev/null ; then : else return 1