mkcephfs: fix == -> =

Another bashism.

Signed-off-by: Sage Weil <sage@inktank.com>
This commit is contained in:
Sage Weil 2012-12-14 14:16:31 -08:00
parent bf01b7b2e2
commit 641b077f9e

View 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