From 0674bbd001243c91cc03336400773fa999269f16 Mon Sep 17 00:00:00 2001 From: Jeff Squyres Date: Tue, 24 Apr 2007 12:00:54 +0000 Subject: [PATCH] Fix segv when the shell is not recognized. Thanks to Mostyn Lewis for noticing the problem. This commit was SVN r14483. --- orte/mca/pls/rsh/pls_rsh_module.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/orte/mca/pls/rsh/pls_rsh_module.c b/orte/mca/pls/rsh/pls_rsh_module.c index 1cb0c7b49c..cc07e13065 100644 --- a/orte/mca/pls/rsh/pls_rsh_module.c +++ b/orte/mca/pls/rsh/pls_rsh_module.c @@ -575,7 +575,7 @@ int orte_pls_rsh_launch(orte_jobid_t jobid) } if ( i == ORTE_PLS_RSH_SHELL_UNKNOWN ) { opal_output(0, "WARNING: local probe returned unhandled shell:%s assuming bash\n", - orte_pls_rsh_shell_name[i]); + sh_name); local_sh = true; }