Skip to content

Commit ddc437a

Browse files
committed
Update add-db-to-osd.sh
1 parent dfddd57 commit ddc437a

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)