2009-09-19 Colin Watson <cjwatson@ubuntu.com>
* 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.
This commit is contained in:
parent
be94a509bb
commit
a83d079b1e
2 changed files with 8 additions and 1 deletions
|
@ -1,3 +1,10 @@
|
|||
2009-09-19 Colin Watson <cjwatson@ubuntu.com>
|
||||
|
||||
* 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 <phcoder@gmail.com>
|
||||
|
||||
* mmap/mmap.c (grub_cmd_badram): Fix off-by-one error.
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue