]> git.ipfire.org Git - thirdparty/grub.git/commitdiff
document sleep command exit codes
authorAndrey Borzenkov <arvidjaar@gmail.com>
Sat, 30 Nov 2013 10:57:11 +0000 (14:57 +0400)
committerAndrey Borzenkov <arvidjaar@gmail.com>
Sat, 30 Nov 2013 10:57:11 +0000 (14:57 +0400)
ChangeLog
docs/grub.texi

index ead7b2620245cb58cffdc4632b6aa9e0a2319089..e61197a88364fe57b4365ddc93936a50e882e7af 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2013-11-30  Andrey Borzenkov <arvidjaar@gmail.com>
+
+       * docs/grub.texi (sleep): Document exit codes.
+
 2013-11-30  Vladimir Serbinenko  <phcoder@gmail.com>
 
        Ensure that -mno-unaligned-access or some equivalent option is used.
index 529e328b2c3ec66e8a940075953ad743a5cffed8..ceea7eb3af0c39e055aa13a8f5f0caaeeb900e6b 100644 (file)
@@ -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