Changeset 33662 for trunk/Ohana/src/opihi/pcontrol
- Timestamp:
- Apr 1, 2012, 3:24:39 PM (14 years ago)
- Location:
- trunk/Ohana/src/opihi/pcontrol
- Files:
-
- 2 edited
-
Makefile (modified) (1 diff)
-
StartHost.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Ohana/src/opihi/pcontrol/Makefile
r26411 r33662 24 24 $(SRC)/init.$(ARCH).o \ 25 25 $(SRC)/pcontrol.$(ARCH).o \ 26 $(SRC)/rconnect.$(ARCH).o \27 26 $(SRC)/CheckBusyJob.$(ARCH).o \ 28 27 $(SRC)/CheckDoneHost.$(ARCH).o \ -
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.
