Whamcloud - gitweb
b=23271 fix typo
authorVladimir Saveliev <Vladimir.Saveliev@sun.com>
Tue, 10 Aug 2010 17:07:04 +0000 (21:07 +0400)
committerMikhail Pershin <tappro@sun.com>
Fri, 13 Aug 2010 14:34:22 +0000 (18:34 +0400)
there has to be no space between the lvalue and the '='

lustre/tests/test-framework.sh

index a690b1c..e143e3b 100644 (file)
@@ -2228,7 +2228,7 @@ run_e2fsck() {
     local cmd="$E2FSCK -d -v -f -n $MDSDB_OPT $ostdb_opt $target_dev"
     echo $cmd
     local rc=0
     local cmd="$E2FSCK -d -v -f -n $MDSDB_OPT $ostdb_opt $target_dev"
     echo $cmd
     local rc=0
-    do_node $node $cmd || rc =$?
+    do_node $node $cmd || rc=$?
     [ $rc -le $FSCK_MAX_ERR ] || \
         error "$cmd returned $rc, should be <= $FSCK_MAX_ERR"
     return 0
     [ $rc -le $FSCK_MAX_ERR ] || \
         error "$cmd returned $rc, should be <= $FSCK_MAX_ERR"
     return 0