IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Oct 10, 2008, 12:51:04 PM (18 years ago)
Author:
eugene
Message:

allow job stdout / stderr from pclient to arrive slowly

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Ohana/src/opihi/pclient/reset.c

    r7917 r20047  
    88  if (argc != 1) {
    99    gprint (GP_ERR, "USAGE: reset\n");
    10     gprint (GP_LOG, "STATUS -1\n");
     10    gprint (GP_LOG, "RESET_RESULT: -1\n");
    1111    return (FALSE);
    1212  }
     
    1414  if (ChildStatus == PCLIENT_NONE) {
    1515    gprint (GP_ERR, "no child process, cannot reset\n");
    16     gprint (GP_LOG, "STATUS 2\n");
     16    gprint (GP_LOG, "RESET_RESULT: 2\n");
    1717    return (TRUE);
    1818  }
     
    4343    /* total failure, don't reset */
    4444    gprint (GP_ERR, "child process %d is hung, cannot reset\n", ChildPID);
    45     gprint (GP_LOG, "STATUS 0\n");
     45    gprint (GP_LOG, "RESET_RESULT: 0\n");
    4646    return (FALSE);
    4747  }
     
    6262  ChildExitStatus = 0;
    6363
    64   gprint (GP_LOG, "STATUS 1\n");
     64  gprint (GP_LOG, "RESET_RESULT: 1\n");
    6565  return (TRUE);
    6666}
Note: See TracChangeset for help on using the changeset viewer.