From: Andrey Borzenkov Date: Sat, 30 Nov 2013 10:57:11 +0000 (+0400) Subject: document sleep command exit codes X-Git-Tag: grub-2.02-beta1~181 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=be0d45555ee656cd0d54657851c060871fa9f04b;p=thirdparty%2Fgrub.git document sleep command exit codes --- 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