1
1

Set the lifeline when we are tree spawning under rsh so that the orted can self-terminate when its parent dies

This commit was SVN r25655.
Этот коммит содержится в:
Ralph Castain 2011-12-15 15:29:53 +00:00
родитель 9dec101043
Коммит a309c53bf2

Просмотреть файл

@ -577,6 +577,13 @@ int orte_daemon(int argc, char *argv[])
ORTE_ERROR_LOG(ret);
goto DONE;
}
/* set the lifeline to point to our parent so that we
* can handle the situation if that lifeline goes away
*/
if (ORTE_SUCCESS != (ret = orte_routed.set_lifeline(&parent))) {
ORTE_ERROR_LOG(ret);
goto DONE;
}
}
/* if we are not the HNP...the only time we will be an HNP