diff --git a/opal/mca/base/mca_base_param.c b/opal/mca/base/mca_base_param.c index 672fb8af8d..2c8079aff7 100644 --- a/opal/mca/base/mca_base_param.c +++ b/opal/mca/base/mca_base_param.c @@ -1061,6 +1061,17 @@ static int param_register(const char *type_name, value in the old entry) */ OBJ_DESTRUCT(¶m); + + /* Finally, if we have a lookup value, look it up */ + + if (NULL != current_value) { + if (!param_lookup(i, current_value, NULL)) { + return OMPI_ERR_NOT_FOUND; + } + } + + /* Return the new index */ + return i; } }