mirror of
https://github.com/ceph/ceph
synced 2025-02-23 19:17:37 +00:00
mkcephfs: fix == -> =
Another bashism. Signed-off-by: Sage Weil <sage@inktank.com>
This commit is contained in:
parent
bf01b7b2e2
commit
641b077f9e
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user