From fc37e408c25750f01579d62275faa1b4cc1a900b Mon Sep 17 00:00:00 2001 From: Ethan Mallove Date: Thu, 17 Jun 2010 14:58:09 +0000 Subject: [PATCH] Avoid SEGV in case rsh/ssh is not in `PATH` (refs trac:1490) This commit was SVN r23278. The following Trac tickets were found above: Ticket 1490 --> https://svn.open-mpi.org/trac/ompi/ticket/1490 --- orte/mca/plm/rsh/plm_rsh_component.c | 2 +- orte/mca/plm/rshd/plm_rshd_component.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/orte/mca/plm/rsh/plm_rsh_component.c b/orte/mca/plm/rsh/plm_rsh_component.c index 2500e7bd4a..f30f9c9eb8 100644 --- a/orte/mca/plm/rsh/plm_rsh_component.c +++ b/orte/mca/plm/rsh/plm_rsh_component.c @@ -198,7 +198,7 @@ int orte_plm_rsh_component_query(mca_base_module_t **module, int *priority) "%s plm:rsh: unable to be used: cannot find path " "for launching agent \"%s\"\n", ORTE_NAME_PRINT(ORTE_PROC_MY_NAME), - orte_plm_globals.rsh_agent_argv[0])); + orte_rsh_agent)); *module = NULL; return ORTE_ERROR; } diff --git a/orte/mca/plm/rshd/plm_rshd_component.c b/orte/mca/plm/rshd/plm_rshd_component.c index 9c72898fb1..cf302f64cc 100644 --- a/orte/mca/plm/rshd/plm_rshd_component.c +++ b/orte/mca/plm/rshd/plm_rshd_component.c @@ -129,7 +129,7 @@ int orte_plm_rshd_component_query(mca_base_module_t **module, int *priority) "%s plm:rshd: unable to be used: cannot find path " "for launching agent \"%s\"\n", ORTE_NAME_PRINT(ORTE_PROC_MY_NAME), - orte_plm_globals.rsh_agent_argv[0])); + orte_rsh_agent)); *module = NULL; return ORTE_ERROR; }