From 59031104a83bb7bfc25fa303e5a5ea3cc187d2da Mon Sep 17 00:00:00 2001 From: Nico Schottelius Date: Sat, 10 Jun 2023 13:59:59 +0200 Subject: [PATCH] [find-osd-device] Fix quotes --- ceph/find-osd-device.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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