Skip to content

Commit 6a092a4

Browse files
author
Ralph Castain
authored
Merge pull request #2732 from rhc54/topic/fudge
Missed one spot - plug fd leaks in orteds
2 parents 9ad02b5 + 0e2df3b commit 6a092a4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

orte/mca/state/orted/state_orted.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*
22
* Copyright (c) 2011-2012 Los Alamos National Security, LLC.
33
* All rights reserved.
4-
* Copyright (c) 2014-2016 Intel, Inc. All rights reserved.
4+
* Copyright (c) 2014-2017 Intel, Inc. All rights reserved.
55
* $COPYRIGHT$
66
*
77
* Additional copyrights may follow
@@ -333,7 +333,7 @@ static void track_procs(int fd, short argc, void *cbdata)
333333
* to check to see if all procs from the job are actually terminated
334334
*/
335335
if (NULL != orte_iof.close) {
336-
orte_iof.close(proc, ORTE_IOF_STDIN);
336+
orte_iof.close(proc, ORTE_IOF_STDALL);
337337
}
338338
if (ORTE_FLAG_TEST(pdata, ORTE_PROC_FLAG_WAITPID) &&
339339
!ORTE_FLAG_TEST(pdata, ORTE_PROC_FLAG_RECORDED)) {

0 commit comments

Comments
 (0)