]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
mkcephfs: fix == -> =
authorSage Weil <sage@inktank.com>
Fri, 14 Dec 2012 22:16:31 +0000 (14:16 -0800)
committerSage Weil <sage@inktank.com>
Fri, 14 Dec 2012 22:20:00 +0000 (14:20 -0800)
Another bashism.

Signed-off-by: Sage Weil <sage@inktank.com>
src/mkcephfs.in

index 62d8c9fcbc8d43b882fe36a033b753cade407f0b..3f271ce6c49fa2bb72e08abedced1618e03b37fd 100644 (file)
@@ -364,7 +364,7 @@ if [ -n "$prepareosdfs" ]; then
     done
 
     get_conf mkfs_opt "" "osd mkfs options $fs_type"
-    if [ "$fs_type" == "xfs" ] && [ -z "$mkfs_opt" ]; then
+    if [ "$fs_type" = "xfs" ] && [ -z "$mkfs_opt" ]; then
         echo Xfs filesystem found add missing -f mkfs option!
        mkfs_opt="-f"
     fi