* check for no components found case and return selection error in that
situation This commit was SVN r6931.
Этот коммит содержится в:
родитель
ab4aac2c14
Коммит
4476212aa7
@ -72,6 +72,10 @@ orte_sds_base_select(void)
|
||||
}
|
||||
}
|
||||
|
||||
if (NULL == selected_component) {
|
||||
return ORTE_ERR_NOT_FOUND;
|
||||
}
|
||||
|
||||
/* unload all components that were not selected */
|
||||
item = opal_list_get_first(&orte_sds_base_components_available);
|
||||
while(item != opal_list_get_end(&orte_sds_base_components_available)) {
|
||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user