diff --git a/ceph/find-osd-device.sh b/ceph/find-osd-device.sh index 9572e6c..52f8c7e 100755 --- a/ceph/find-osd-device.sh +++ b/ceph/find-osd-device.sh @@ -15,7 +15,7 @@ osd_path=/var/lib/ceph/osd/ceph-${osdid} mountpath=$(mount | grep "on ${osd_path} ") -if [ -z ${mountpath} ]; then +if [ -z "${mountpath}" ]; then echo "Nothing mounted on ${osd_path}, are you on the right host?" exit 1 fi