From: Sage Weil Date: Fri, 14 Dec 2012 22:16:31 +0000 (-0800) Subject: mkcephfs: fix == -> = X-Git-Tag: v0.56~53 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=641b077f9ec3f78e275cec27e43de270de0626f6;p=ceph.git mkcephfs: fix == -> = Another bashism. Signed-off-by: Sage Weil --- diff --git a/src/mkcephfs.in b/src/mkcephfs.in index 62d8c9fcbc8d4..3f271ce6c49fa 100644 --- a/src/mkcephfs.in +++ b/src/mkcephfs.in @@ -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