[find-osd-device] Fix quotes
This commit is contained in:
parent
32442484f9
commit
59031104a8
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue