From: Jes Sorensen Date: Tue, 29 May 2012 13:17:54 +0000 (+0200) Subject: Fix --no-error in test script X-Git-Tag: mdadm-3.3-rc1~301 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fc092254a15f130f3ca1a15342b91534a3c4c24e;p=thirdparty%2Fmdadm.git Fix --no-error in test script 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 Signed-off-by: NeilBrown --- diff --git a/test b/test index 586e988b..80e1915a 100755 --- a/test +++ b/test @@ -284,7 +284,7 @@ parse_args() { fi ;; --no-error) - exit_on_error=0 + exitonerror=0 ;; --disable-multipath) unset MULTIPATH