* [PATCH 2/3] Allow escape by ctrl-c broken by --no-error change
@ 2012-10-20 16:03 Gilles Espinasse
2012-10-21 22:12 ` NeilBrown
0 siblings, 1 reply; 2+ messages in thread
From: Gilles Espinasse @ 2012-10-20 16:03 UTC (permalink / raw)
To: linux-raid, neilb; +Cc: Gilles Espinasse
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
--
1.7.2.5
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH 2/3] Allow escape by ctrl-c broken by --no-error change
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
0 siblings, 0 replies; 2+ messages in thread
From: NeilBrown @ 2012-10-21 22:12 UTC (permalink / raw)
To: Gilles Espinasse; +Cc: linux-raid
[-- 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 --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-10-21 22:12 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
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 is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.