Changeset 3203 for trunk/Ohana/src/opihi/pcontrol/StartHost.c
- Timestamp:
- Feb 12, 2005, 9:34:34 AM (21 years ago)
- File:
-
- 1 edited
-
trunk/Ohana/src/opihi/pcontrol/StartHost.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Ohana/src/opihi/pcontrol/StartHost.c
r3187 r3203 3 3 int StartHost (Host *host) { 4 4 5 int pid; 5 6 int stdio[3]; 6 7 7 pid = rconnect (CONNECT, host[0].hostname, PCLIENT, stdio); 8 /* pid = rconnect (CONNECT, host[0].hostname, PCLIENT, stdio); */ 9 10 pid = rconnect ("ssh", host[0].hostname, "pclient", stdio); 8 11 if (!pid) { /** failure to start **/ 9 12 fprintf (stderr, "failure to start %s\n", host[0].hostname); 10 PutHost (host, PCONTROL_HOST_DOWN, QUEUE_BOTTOM);13 PutHost (host, PCONTROL_HOST_DOWN, STACK_BOTTOM); 11 14 return (FALSE); 12 15 } … … 15 18 host[0].stderr = stdio[2]; 16 19 host[0].pid = pid; 17 PutHost (host, PCONTROL_HOST_IDLE, QUEUE_BOTTOM);20 PutHost (host, PCONTROL_HOST_IDLE, STACK_BOTTOM); 18 21 return (TRUE); 19 22 }
Note:
See TracChangeset
for help on using the changeset viewer.
