]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
vstart.sh: fix bashism in the script 11889/head
authorMykola Golub <mgolub@mirantis.com>
Thu, 10 Nov 2016 10:13:39 +0000 (12:13 +0200)
committerMykola Golub <mgolub@mirantis.com>
Thu, 10 Nov 2016 10:14:49 +0000 (12:14 +0200)
Signed-off-by: Mykola Golub <mgolub@mirantis.com>
src/vstart.sh

index c17de22f49f8959fef5ab94b5e00e1c7413989e6..c8bda3925715da3d9dfade4a6ad02bd082493509 100755 (executable)
@@ -71,7 +71,7 @@ export DYLD_LIBRARY_PATH=$CEPH_LIB:$DYLD_LIBRARY_PATH
 [ -z "$CEPH_RGW_PORT" ] && CEPH_RGW_PORT=8000
 [ -z "$CEPH_CONF_PATH" ] && CEPH_CONF_PATH=$CEPH_DIR
 
-if (( $CEPH_NUM_OSD > 3 )); then
+if [ $CEPH_NUM_OSD -gt 3 ]; then
     OSD_POOL_DEFAULT_SIZE=3
 else
     OSD_POOL_DEFAULT_SIZE=$CEPH_NUM_OSD