1
1
Jeff Squyres 549abeaa87 orterun: remove duplicate code
https://github.com/open-mpi/ompi/pull/6895 fixed the code in orterun.c
to allow running as root if both OMPI_ALLOW_RUN_AS_ROOT and
OMPI_ALLOW_RUN_AS_ROOT_CONFIRM env vars are set.  However, this
env-var-checking code already exists in
orte_submit.c:orte_submit_init() -- it looks like the
geteuid()/getenv()-checking code here in orterun is now duplicate
code.

So let's just get rid of the duplicate code.

Signed-off-by: Jeff Squyres <jsquyres@cisco.com>
(cherry picked from commit 197beb30d555922b084ac3b89bb97321bf157e88)
2019-08-19 15:49:57 -04:00
..
2015-06-23 20:59:57 -07:00
2018-08-20 16:08:54 -07:00
2019-08-07 05:51:29 -07:00
2019-08-19 15:49:57 -04:00
2019-03-31 11:26:18 -07:00
2015-06-23 20:59:57 -07:00
2015-06-23 20:59:57 -07:00