diff --git a/ChangeLog b/ChangeLog index 5d836659c..4144fbe2b 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2009-09-19 Colin Watson + + * util/grub.d/30_os-prober.in: Don't throw away stderr from + os-prober. Under normal operation, it does not print anything to + stderr; if it does, we need to debug it, and throwing away stderr + makes that excessively difficult. + 2009-09-16 Vladimir Serbinenko * mmap/mmap.c (grub_cmd_badram): Fix off-by-one error. diff --git a/util/grub.d/30_os-prober.in b/util/grub.d/30_os-prober.in index 4a1648881..84e227ee7 100644 --- a/util/grub.d/30_os-prober.in +++ b/util/grub.d/30_os-prober.in @@ -31,7 +31,7 @@ if [ -z "`which os-prober 2> /dev/null`" -o -z "`which linux-boot-prober 2> /dev exit 0 fi -OSPROBED="`os-prober 2> /dev/null | tr ' ' '^' | paste -s -d ' '`" +OSPROBED="`os-prober | tr ' ' '^' | paste -s -d ' '`" if [ -z "${OSPROBED}" ] ; then # empty os-prober output, nothing doing exit 0