* util/grub.d/00_header.in: Make timeout apply to else

clause of hidden timout.
	Reported by: Mads Kiilerich.
This commit is contained in:
Vladimir 'phcoder' Serbinenko 2012-05-04 00:41:57 +02:00
parent 076aeb5022
commit e0ca063a66
2 changed files with 8 additions and 0 deletions

View file

@ -1,3 +1,9 @@
2012-05-04 Vladimir Serbinenko <phcoder@gmail.com>
* util/grub.d/00_header.in: Make timeout apply to else
clause of hidden timout.
Reported by: Mads Kiilerich.
2012-05-04 Vladimir Serbinenko <phcoder@gmail.com>
* grub-core/kern/fs.c (grub_fs_probe) [GRUB_UTIL]: Add workaround for

View file

@ -280,6 +280,8 @@ make_timeout ()
fi
cat << EOF
if sleep$verbose --interruptible ${1} ; then
set timeout=0
else
set timeout=${2}
fi
EOF