Commit c588d50b authored by Pavan Balaji's avatar Pavan Balaji
Browse files

[svn-r4120] Minor bug in the stdin code, that was causing stdin tests with more

than one process to fail. This commit should fix ticket #442.
parent 2c5ad9d9
......@@ -78,7 +78,7 @@ int main(int argc, char **argv)
client_args[arg++] = MPIU_Strdup(HYD_Proxy_params.args[j]);
client_args[arg++] = NULL;
if ((i & HYD_Proxy_params.pmi_id) == 0) {
if ((i + HYD_Proxy_params.pmi_id) == 0) {
status = HYDU_Create_process(client_args, &HYD_Proxy_params.in,
&HYD_Proxy_params.out[i], &HYD_Proxy_params.err[i],
&HYD_Proxy_params.pid[i]);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment