diff --git a/mongo/lib/common b/mongo/lib/common index cf3bf7e..c1fd9aa 100644 --- a/mongo/lib/common +++ b/mongo/lib/common @@ -9,7 +9,7 @@ export DATA_DIR=$SERVICE_DATASTORE$DB_DATADIR is_db_locked() { - is_volume_used "$DATASTORE/${SERVICE_NAME}" + is_volume_used "${DATA_DIR}" }