]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
vstart.sh: align add/minus shell var usage
authorChangcheng Liu <changcheng.liu@intel.com>
Thu, 7 Mar 2019 08:45:57 +0000 (16:45 +0800)
committerChangcheng Liu <changcheng.liu@intel.com>
Mon, 8 Apr 2019 04:52:10 +0000 (12:52 +0800)
Signed-off-by: Changcheng Liu <changcheng.liu@intel.com>
src/vstart.sh

index 427710413de5447bfcd5871b9756fca599faa2a5..c17e19ccf1ffb7fa11c84514014f78e76a65a756 100755 (executable)
@@ -738,7 +738,7 @@ EOF
 }
 
 start_osd() {
-    for osd in `seq 0 $((CEPH_NUM_OSD-1))`
+    for osd in `seq 0 $(($CEPH_NUM_OSD-1))`
     do
            if [ "$new" -eq 1 ]; then
                    wconf <<EOF