diff options
author | Sage Weil <sage@inktank.com> | 2012-12-08 18:10:31 +0100 |
---|---|---|
committer | Sage Weil <sage@inktank.com> | 2012-12-08 18:12:07 +0100 |
commit | f3029833c347c0f2c0218a63b7c564b582625632 (patch) | |
tree | c69e5d61138b9b17a24b5f01dc92fcbdbf77cded | |
parent | debian: add ceph.postinst to remove /etc/init/ceph.conf on update (diff) | |
download | ceph-f3029833c347c0f2c0218a63b7c564b582625632.tar.xz ceph-f3029833c347c0f2c0218a63b7c564b582625632.zip |
init-ceph: =, not ==
Reported-by: v@alan.lt
Signed-off-by: Sage Weil <sage@inktank.com>
-rw-r--r-- | src/init-ceph.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/init-ceph.in b/src/init-ceph.in index 1c9e0270d5d..788d7172979 100644 --- a/src/init-ceph.in +++ b/src/init-ceph.in @@ -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 |