grub-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] document sleep command exit codes


From: Vladimir 'φ-coder/phcoder' Serbinenko
Subject: Re: [PATCH] document sleep command exit codes
Date: Sat, 30 Nov 2013 11:39:49 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20131005 Icedove/17.0.9

On 29.11.2013 18:29, Andrey Borzenkov wrote:
>>                          "sleep --interruptible" returns true (i.e. 0)
>> if and only if the timeout expires *without* being interrupted, 
> 
> This should not require digging in sources ...
> 
Go ahead
> ---
>  docs/grub.texi | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
> 
> diff --git a/docs/grub.texi b/docs/grub.texi
> index 529e328..ceea7eb 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 address@hidden address@hidden 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
>  
>  
> 


Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]