From 5a029a47bd85e53fd5e1c904d76e6b45b0ae2c30 Mon Sep 17 00:00:00 2001 From: Josh Hursey Date: Tue, 21 Aug 2007 19:43:41 +0000 Subject: [PATCH] forgot to separate the arguments This commit was SVN r15940. --- orte/tools/orte-restart/orte-restart.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/orte/tools/orte-restart/orte-restart.c b/orte/tools/orte-restart/orte-restart.c index 7f26dcf98a..82c83a1ba3 100644 --- a/orte/tools/orte-restart/orte-restart.c +++ b/orte/tools/orte-restart/orte-restart.c @@ -475,7 +475,11 @@ static int spawn_children(orte_snapc_base_global_snapshot_t *snapshot, pid_t *ch exit_status = ret; goto cleanup; } - if( ORTE_SUCCESS != (ret = opal_argv_append(&argc, &argv, "-am ft-enable-cr")) ) { + if( ORTE_SUCCESS != (ret = opal_argv_append(&argc, &argv, "-am")) ) { + exit_status = ret; + goto cleanup; + } + if( ORTE_SUCCESS != (ret = opal_argv_append(&argc, &argv, "ft-enable-cr")) ) { exit_status = ret; goto cleanup; }