fixed a compiler error for net-win64
authorGengbin Zheng <gzheng@illinois.edu>
Mon, 18 Oct 2010 02:16:09 +0000 (21:16 -0500)
committerGengbin Zheng <gzheng@illinois.edu>
Mon, 18 Oct 2010 02:16:09 +0000 (21:16 -0500)
src/arch/net/charmrun/charmrun.c

index d66ceeba142cbd373d4cfb2562cc8c918b0b35b2..d244c148a0571a8ce479ca5ff6fa10810e73961c 100644 (file)
@@ -2298,7 +2298,11 @@ void req_client_start_and_connect(void)
                                break;
                        }
                }
-               if (!arg_ssh_display) finish_set_nodes(clientstart,client);
+#if CMK_USE_RSH
+                 /* ssh x11 forwarding will make sure ssh exit */
+               if (!arg_ssh_display) 
+#endif
+               finish_set_nodes(clientstart,client);
 
 #if CMK_IBVERBS_FAST_START
                for (c=clientstart;c<client;c++) {