]> git.ipfire.org Git - thirdparty/mdadm.git/commitdiff
Fix --no-error in test script
authorJes Sorensen <Jes.Sorensen@redhat.com>
Tue, 29 May 2012 13:17:54 +0000 (15:17 +0200)
committerNeilBrown <neilb@suse.de>
Wed, 30 May 2012 00:44:10 +0000 (10:44 +1000)
b8e91a32cdaa2a6dea8b0dd54365ede33d5a9a60 was applied incorrectly.
It changed the name of the variable set when specifying --no-error,
without changing the places checking it.

Set it back as it was to make --no-error work correctly again.

Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: NeilBrown <neilb@suse.de>
test

diff --git a/test b/test
index 586e988be417f3c26765884eec6eed782b3fbf2b..80e1915a2cae7400551d974aa433687f87f8d060 100755 (executable)
--- a/test
+++ b/test
@@ -284,7 +284,7 @@ parse_args() {
       fi
       ;;
     --no-error)
-      exit_on_error=0
+      exitonerror=0
       ;;
     --disable-multipath)
       unset MULTIPATH