diff --git a/ChangeLog b/ChangeLog index ead7b2620..e61197a88 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2013-11-30 Andrey Borzenkov + + * docs/grub.texi (sleep): Document exit codes. + 2013-11-30 Vladimir Serbinenko Ensure that -mno-unaligned-access or some equivalent option is used. diff --git a/docs/grub.texi b/docs/grub.texi index 529e328b2..ceea7eb3a 100644 --- a/docs/grub.texi +++ b/docs/grub.texi @@ -4883,7 +4883,8 @@ Alias for @code{hashsum --hash sha512 arg @dots{}}. See command @command{hashsum @deffn Command sleep [@option{--verbose}] [@option{--interruptible}] count Sleep for @var{count} seconds. If option @option{--interruptible} is given, allow @key{ESC} to interrupt sleep. With @option{--verbose} show countdown -of remaining seconds. +of remaining seconds. Exit code is set to 0 if timeout expired and to 1 +if timeout was interrupted by @key{ESC}. @end deffn