From 78173a697a3b3e54622dafd34fdb1fff6af3fa36 Mon Sep 17 00:00:00 2001 From: Sven Stork Date: Thu, 7 Dec 2006 12:14:40 +0000 Subject: [PATCH] Replace the test opertion "-e" with "-r" to improve the protability. Refs: #392 This commit was SVN r12790. --- 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 5f97579f0c..fd967f7272 100644 --- a/orte/mca/pls/rsh/pls_rsh_module.c +++ b/orte/mca/pls/rsh/pls_rsh_module.c @@ -641,7 +641,7 @@ int orte_pls_rsh_launch(orte_jobid_t jobid) if (!(remote_csh || remote_sh)) { int i; - tmp = opal_argv_split("( test ! -e ./.profile || . ./.profile;", ' '); + tmp = opal_argv_split("( test \! -r ./.profile || . ./.profile;", ' '); if (NULL == tmp) { return ORTE_ERR_OUT_OF_RESOURCE; }