Skip to content

Commit 2dde52d

Browse files
authored
Merge pull request #19 from 45Drives/dev-hutch
Update add-db-to-osd.sh
2 parents 8db6d76 + ddc437a commit 2dde52d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

add-db-to-osd.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,7 @@ for i in "${!OSD_LIST[@]}"; do
234234
done
235235

236236
OK_TO_STOP=$(ceph osd ok-to-stop $OSD_ID)
237-
if [ $OK_TOP_STOP -ne 0 ]; then
237+
if [[ $OK_TOP_STOP -ne 0 ]]; then
238238
echo "Error: stopping osd.$OSD_ID would result in data unavailability"
239239
exit 1
240240
fi

0 commit comments

Comments
 (0)