Commit 5ec01305 authored by Leigh Stoller's avatar Leigh Stoller

Minor change for OSX (Imac). telnet on OSX appears to be doing some

strange cause it exists when the surrounding shell exits, so I changed
things a bit to avoid the problem. tiptunnel is a train wreck that
needs a total redo.
parent f629d606
/*
* EMULAB-COPYRIGHT
* Copyright (c) 2004, 2005 University of Utah and the Flux Group.
* Copyright (c) 2004, 2005, 2006 University of Utah and the Flux Group.
* All rights reserved.
*/
......@@ -321,13 +321,10 @@ int main( int argc, char ** argv )
sprintf(runString, programToLaunch, portString);
if (debug) printf("Running '%s'\n", runString);
for (foo = runString; *foo; foo++);
foo[0] = ' ';
foo[1] = '&';
foo[2] = '\0';
system( runString );
if (! fork()) {
exit(system( runString ));
}
}
/*
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment