]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
init-ceph: use = not == for comparison operator
authorSage Weil <sage@newdream.net>
Tue, 25 May 2010 20:47:14 +0000 (13:47 -0700)
committerSage Weil <sage@newdream.net>
Tue, 25 May 2010 20:47:14 +0000 (13:47 -0700)
src/init-ceph.in

index cf37cdfd7618f60a847c1eb065d1f02a2c0d80da..49c5535fcd81d363c276ecce823eef95f8dfcb7c 100644 (file)
@@ -123,7 +123,7 @@ case $1 in
            docrun=0
            ;;
     -m )
-           [ "$2" == "" ] && usage_exit
+           [ "$2" = "" ] && usage_exit
            options="$options $1"
            shift
            MON_ADDR=$1
@@ -135,7 +135,7 @@ case $1 in
            dobtrfs=0
            ;;
     --conf | -c)
-           [ "$2" == "" ] && usage_exit
+           [ "$2" = "" ] && usage_exit
            options="$options $1"
            shift
            conf=$1