linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: NeilBrown <neilb@suse.de>
To: Gilles Espinasse <g.esp@free.fr>
Cc: linux-raid@vger.kernel.org
Subject: Re: [PATCH 2/3] Allow escape by ctrl-c broken by --no-error change
Date: Mon, 22 Oct 2012 09:12:14 +1100	[thread overview]
Message-ID: <20121022091214.3550e892@notabene.brown> (raw)
In-Reply-To: <1350749031-5482-1-git-send-email-g.esp@free.fr>

[-- Attachment #1: Type: text/plain, Size: 597 bytes --]

On Sat, 20 Oct 2012 18:03:51 +0200 Gilles Espinasse <g.esp@free.fr> wrote:

> Signed-off-by: Gilles Espinasse <g.esp@free.fr>
> ---
>  test |    7 ++++++-
>  1 files changed, 6 insertions(+), 1 deletions(-)
> 
> diff --git a/test b/test
> index 2bb482c..8339d06 100755
> --- a/test
> +++ b/test
> @@ -68,8 +68,13 @@ cleanup() {
>  	done
>  }
>  
> +ctrl-c() {
> +	exitonerror=1
> +}
> +
>  do_setup() {
> -  trap cleanup 0 1 2 3 15
> +  trap cleanup 0 1 3 15
> +  trap ctrl-c 2
>  
>    devlist=
>    for d in 0 1 2 3 4 5 6 7 8 9 10 11 12

Applied,
thanks.
NeilBrown

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 828 bytes --]

      reply	other threads:[~2012-10-21 22:12 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-10-20 16:03 [PATCH 2/3] Allow escape by ctrl-c broken by --no-error change Gilles Espinasse
2012-10-21 22:12 ` NeilBrown [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20121022091214.3550e892@notabene.brown \
    --to=neilb@suse.de \
    --cc=g.esp@free.fr \
    --cc=linux-raid@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).