diff options
author | NeilBrown <neilb@suse.de> | 2012-10-31 23:56:15 +0100 |
---|---|---|
committer | NeilBrown <neilb@suse.de> | 2012-11-20 02:08:51 +0100 |
commit | d5a221a5254846d6149eb6365cdd8b4c4d60e71e (patch) | |
tree | 3918054f559f0fce51bf5734bc8355be3d47a9c1 /test | |
parent | Assemble: Fix critical-section-recovery when assembling a growing array. (diff) | |
download | mdadm-d5a221a5254846d6149eb6365cdd8b4c4d60e71e.tar.xz mdadm-d5a221a5254846d6149eb6365cdd8b4c4d60e71e.zip |
test: remove unnecessary bash-ism.
Bash allows '-' in function names, but other shells don't.
So use '_' - always safe.
Signed-off-by: NeilBrown <neilb@suse.de>
Diffstat (limited to 'test')
-rwxr-xr-x | test | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -69,13 +69,13 @@ cleanup() { done } -ctrl-c() { +ctrl_c() { exitonerror=1 } do_setup() { trap cleanup 0 1 3 15 - trap ctrl-c 2 + trap ctrl_c 2 devlist= for d in 0 1 2 3 4 5 6 7 8 9 10 11 12 |