summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSage Weil <sage@inktank.com>2012-12-14 14:16:31 -0800
committerSage Weil <sage@inktank.com>2012-12-14 14:20:00 -0800
commit641b077f9ec3f78e275cec27e43de270de0626f6 (patch)
tree8aaa17e4c55778ed08ae3e8feeff445287d81da9
parentbf01b7b2e21d6f391afa5de97cf3c8c21d6d7700 (diff)
downloadceph-641b077f9ec3f78e275cec27e43de270de0626f6.tar.gz
mkcephfs: fix == -> =
Another bashism. Signed-off-by: Sage Weil <sage@inktank.com>
-rw-r--r--src/mkcephfs.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mkcephfs.in b/src/mkcephfs.in
index 62d8c9fcbc8..3f271ce6c49 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