Changeset 33662 for trunk/Ohana/src/opihi/pcontrol/StartHost.c
- Timestamp:
- Apr 1, 2012, 3:24:39 PM (14 years ago)
- File:
-
- 1 edited
-
trunk/Ohana/src/opihi/pcontrol/StartHost.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Ohana/src/opihi/pcontrol/StartHost.c
r28241 r33662 14 14 if (VarConfig ("SHELL", "%s", shell) == NULL) strcpy (shell, "pclient"); 15 15 16 if (VerboseMode()) gprint (GP_ERR, "starting host within thread\n");16 if (VerboseMode()) gprint (GP_ERR, "starting remote connection to %s...", host[0].hostname); 17 17 18 pid = rconnect (command, host[0].hostname, shell, stdio); 18 int errorInfo; 19 pid = rconnect (command, host[0].hostname, shell, stdio, &errorInfo, TRUE); 19 20 if (!pid) { 20 21 /** failure to start: extend retry period **/ 21 if (VerboseMode()) gprint (GP_ERR, "failure to start %s \n", host[0].hostname);22 if (VerboseMode()) gprint (GP_ERR, "failure to start %s (error %d)\n", host[0].hostname, errorInfo); 22 23 gettimeofday (&now, (void *) NULL); 23 24 if (ZTIME(host[0].next_start_try) || ZTIME(host[0].last_start_try)) {
Note:
See TracChangeset
for help on using the changeset viewer.
