--- src/client.c~ Thu May 25 12:09:43 2006 +++ src/client.c Thu May 25 12:49:15 2006 @@ -106,10 +106,8 @@ if(c->opt->option.remote && c->opt->option.program) { /* connect and exec options specified together */ /* -> spawn a local program instead of stdio */ - while((c->local_rfd.fd=c->local_wfd.fd=connect_local(c))>=0) { - run_client(c); - sleep(1); /* FIXME: not a good idea in ucontext threading */ - } + c->local_rfd.fd=c->local_wfd.fd=connect_local(c); + run_client(c); } else #endif {