[2602] 2009-09-19 Colin Watson <[email protected]>

Colin Watson <[email protected]> Sat, 19 Sep 2009 14:15:04 +0000
Newsgroups gmane.comp.boot-loaders.grub.cvs
Message-ID <[email protected]>
Revision: 2602
          http://svn.sv.gnu.org/viewvc/?view=rev&root=grub&revision=2602
Author:   cjwatson
Date:     2009-09-19 14:15:00 +0000 (Sat, 19 Sep 2009)
Log Message:
-----------
2009-09-19  Colin Watson  <[email protected]>

	* 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.

Modified Paths:
--------------
    trunk/grub2/ChangeLog
    trunk/grub2/util/grub.d/30_os-prober.in

Modified: trunk/grub2/ChangeLog
===================================================================
--- trunk/grub2/ChangeLog	2009-09-17 11:38:50 UTC (rev 2601)
+++ trunk/grub2/ChangeLog	2009-09-19 14:15:00 UTC (rev 2602)
@@ -1,3 +1,10 @@
+2009-09-19  Colin Watson  <[email protected]>
+
+	* 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  <[email protected]>
 
 	* mmap/mmap.c (grub_cmd_badram): Fix off-by-one error.

Modified: trunk/grub2/util/grub.d/30_os-prober.in
===================================================================
--- trunk/grub2/util/grub.d/30_os-prober.in	2009-09-17 11:38:50 UTC (rev 2601)
+++ trunk/grub2/util/grub.d/30_os-prober.in	2009-09-19 14:15:00 UTC (rev 2602)
@@ -31,7 +31,7 @@
   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