[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
>
>
>
signature.asc
Description: OpenPGP digital signature
- Re: [RFC][PATCH] Allow hotkeys to interrupt hidden menu, Yang Bai, 2013/11/03
- Re: [RFC][PATCH] Allow hotkeys to interrupt hidden menu, Colin Watson, 2013/11/27
- Re: [RFC][PATCH] Allow hotkeys to interrupt hidden menu, Colin Watson, 2013/11/27
- Re: [RFC][PATCH] Allow hotkeys to interrupt hidden menu, Vladimir 'phcoder' Serbinenko, 2013/11/28
- Re: [RFC][PATCH] Allow hotkeys to interrupt hidden menu, Colin Watson, 2013/11/28
- Re: [RFC][PATCH] Allow hotkeys to interrupt hidden menu, Vladimir 'φ-coder/phcoder' Serbinenko, 2013/11/28
- Re: [RFC][PATCH] Allow hotkeys to interrupt hidden menu, Colin Watson, 2013/11/29
- Re: [RFC][PATCH] Allow hotkeys to interrupt hidden menu, Andrey Borzenkov, 2013/11/29
- Re: [RFC][PATCH] Allow hotkeys to interrupt hidden menu, Colin Watson, 2013/11/29
- [PATCH] document sleep command exit codes, Andrey Borzenkov, 2013/11/29
- Re: [PATCH] document sleep command exit codes,
Vladimir 'φ-coder/phcoder' Serbinenko <=
- Re: [RFC][PATCH] Allow hotkeys to interrupt hidden menu, Andrey Borzenkov, 2013/11/28
- Re: [RFC][PATCH] Allow hotkeys to interrupt hidden menu, Colin Watson, 2013/11/28
- Re: [RFC][PATCH] Allow hotkeys to interrupt hidden menu, Andrey Borzenkov, 2013/11/29
- Re: [RFC][PATCH] Allow hotkeys to interrupt hidden menu, Colin Watson, 2013/11/29
- Re: [RFC][PATCH] Allow hotkeys to interrupt hidden menu, Andrey Borzenkov, 2013/11/28
- Re: [RFC][PATCH] Allow hotkeys to interrupt hidden menu, Colin Watson, 2013/11/28
- Re: [RFC][PATCH] Allow hotkeys to interrupt hidden menu, Andrey Borzenkov, 2013/11/29