]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
init-ceph: =, not ==
authorSage Weil <sage@inktank.com>
Sat, 8 Dec 2012 17:10:31 +0000 (09:10 -0800)
committerSage Weil <sage@inktank.com>
Sat, 8 Dec 2012 17:12:07 +0000 (09:12 -0800)
Reported-by: v@alan.lt
Signed-off-by: Sage Weil <sage@inktank.com>
src/init-ceph.in

index 1c9e0270d5dfbd0538762128c7c280b4f5a4b89f..788d7172979e80b23604a787586214f48e1e1b13 100644 (file)
@@ -300,7 +300,7 @@ for name in $what; do
                [ -n "$fs_opt" ] && fs_opt="-o $fs_opt"
                [ -n "$pre_mount" ] && do_cmd "$pre_mount"
 
-               if [ "$fs_type" == "btrfs" ]; then
+               if [ "$fs_type" = "btrfs" ]; then
                    echo Mounting Btrfs on $host:$fs_path
                    do_root_cmd "modprobe btrfs ; btrfs device scan || btrfsctl -a ; egrep -q '^[^ ]+ $fs_path' /proc/mounts || mount -t btrfs $fs_opt $first_dev $fs_path"
                else