1
1

Update slurm plm to respect leave_session_attached

This commit was SVN r19370.
Этот коммит содержится в:
Ralph Castain 2008-08-19 18:30:30 +00:00
родитель 4e0f34a062
Коммит 43f8bcfe54

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

@ -588,9 +588,11 @@ static int plm_slurm_start_proc(int argc, char **argv, char **env,
}
/* When not in debug mode and --debug-daemons was not passed,
* tie stdout/stderr to dev null so we don't see messages from orted */
* tie stdout/stderr to dev null so we don't see messages from orted
* EXCEPT if the user has requested that we leave sessions attached
*/
if (0 >= opal_output_get_verbosity(orte_plm_globals.output) &&
!orte_debug_daemons_flag) {
!orte_debug_daemons_flag && !orte_leave_session_attached) {
if (fd >= 0) {
if (fd != 1) {
dup2(fd,1);