From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1Vmhy6-0000AO-Jm for mharc-grub-devel@gnu.org; Sat, 30 Nov 2013 05:40:10 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:35041) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vmhxv-0008WM-Ry for grub-devel@gnu.org; Sat, 30 Nov 2013 05:40:08 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Vmhxn-00062p-Et for grub-devel@gnu.org; Sat, 30 Nov 2013 05:39:59 -0500 Received: from mail-ea0-x236.google.com ([2a00:1450:4013:c01::236]:46640) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vmhxn-00062j-7R for grub-devel@gnu.org; Sat, 30 Nov 2013 05:39:51 -0500 Received: by mail-ea0-f182.google.com with SMTP id o10so10391182eaj.27 for ; Sat, 30 Nov 2013 02:39:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type; bh=aRjY9jml8ZM6i50XSyHPW/dCO7NXfrQN86+h1/Pi8Fg=; b=K/nkAZtTWjpiUcUG8CV+n7IohqWIDtUQxCmDP2E4xyT56lDwxMnHpTSz6vhzRnzWsC Z3HlwYQHKGugj5c0tEmy+8z9eAy5s52FVAytdcii8LPjbw5Y2CcWFC0bNFet3eKbJsi6 OeGjNskXPujHUH3nN0R6ItPwQP/dH/ckX01bqpB7ybdM14YESP7/mhmpctx0Nj2CCjBq 1y/IoMQL16slwb2MxetP3btycp7hH019qaxgtwOjZXtrTBw57K6bdCeA1SYwKhJRdR8h GO0y0z7pUMIXA575tFwuCXoNX3g1Zl4R+u0m4X4OmHDOzqSf9GNhQSQoBgNRQ5xJysxW 2QoQ== X-Received: by 10.15.67.195 with SMTP id u43mr32422540eex.14.1385807990345; Sat, 30 Nov 2013 02:39:50 -0800 (PST) Received: from [192.168.1.16] (31-249.1-85.cust.bluewin.ch. [85.1.249.31]) by mx.google.com with ESMTPSA id 4sm37387951eed.14.2013.11.30.02.39.49 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sat, 30 Nov 2013 02:39:49 -0800 (PST) Message-ID: <5299C075.9010408@gmail.com> Date: Sat, 30 Nov 2013 11:39:49 +0100 From: =?UTF-8?B?VmxhZGltaXIgJ8+GLWNvZGVyL3BoY29kZXInIFNlcmJpbmVua28=?= User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20131005 Icedove/17.0.9 MIME-Version: 1.0 To: grub-devel@gnu.org Subject: Re: [PATCH] document sleep command exit codes References: <20131129161845.GG16321@riva.ucam.org> <1385746197-8215-1-git-send-email-arvidjaar@gmail.com> In-Reply-To: <1385746197-8215-1-git-send-email-arvidjaar@gmail.com> X-Enigmail-Version: 1.5.1 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="----enig2GBTKOQAWPFDUPIFJXJWR" X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:4013:c01::236 X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: The development of GNU GRUB List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 30 Nov 2013 10:40:08 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) ------enig2GBTKOQAWPFDUPIFJXJWR Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable 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,=20 >=20 > This should not require digging in sources ... >=20 Go ahead > --- > docs/grub.texi | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) >=20 > 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 [@option{--verbose}] [@option{--interruptible}] c= ount > Sleep for @var{count} seconds. If option @option{--interruptible} is g= iven, > allow @key{ESC} to interrupt sleep. With @option{--verbose} show count= down > -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 > =20 > =20 >=20 ------enig2GBTKOQAWPFDUPIFJXJWR Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.15 (GNU/Linux) Comment: Using GnuPG with Icedove - http://www.enigmail.net/ iF4EAREKAAYFAlKZwHUACgkQmBXlbbo5nOsxNgEAqeqtIcegAHGmo2ZT5WgLcb+r 7wL8WulgWMPZWxgSvoIBAIfZ/ef5RuDklfNMDtlrTYgJqX+Yk4IQ4rImbqkiopwz =1q+H -----END PGP SIGNATURE----- ------enig2GBTKOQAWPFDUPIFJXJWR--