]> git.ipfire.org Git - thirdparty/grub.git/commitdiff
* util/grub.d/00_header.in: Make timeout apply to else
authorVladimir 'phcoder' Serbinenko <phcoder@gmail.com>
Thu, 3 May 2012 22:41:57 +0000 (00:41 +0200)
committerVladimir 'phcoder' Serbinenko <phcoder@gmail.com>
Thu, 3 May 2012 22:41:57 +0000 (00:41 +0200)
clause of hidden timout.
Reported by: Mads Kiilerich.

ChangeLog
util/grub.d/00_header.in

index d654fd7f653717f53d69599e810dfedbf59bc42b..92b7c867aeb90311f05386fca581a0768bf3005c 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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
index 765bfdcd30e30c2d038dc37d97d3ddc7c573d950..04db1c83f626ce99ef949ccde6c89c9e4fb042f1 100644 (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