[find-osd-device] Fix quotes

This commit is contained in:
Nico Schottelius 2023-06-10 13:59:59 +02:00
parent 32442484f9
commit 59031104a8

View file

@ -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