1
1

Fix for #1832. The stdin for the forked ssh wasn't being closed, so it was

"eating" all the stdin, leaving nothing for mpirun to forward on to the child
process

This commit was SVN r20776.
Этот коммит содержится в:
Brian Barrett 2009-03-13 22:34:56 +00:00
родитель 8b45fe1e7e
Коммит 716b505789

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

@ -757,7 +757,7 @@ static void ssh_child(int argc, char **argv,
free(var);
/* setup stdin if verbosity is not set */
if (0 > opal_output_get_verbosity(orte_plm_globals.output)) {
if (0 >= opal_output_get_verbosity(orte_plm_globals.output)) {
fdin = open("/dev/null", O_RDWR);
dup2(fdin, 0);
close(fdin);