IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Feb 13, 2008, 5:53:35 PM (18 years ago)
Author:
eugene
Message:

unique exit codes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Ohana/src/opihi/pcontrol/StopHosts.c

    r16459 r16472  
    9292    default:
    9393      gprint (GP_ERR, "unknown status for pclient command: programming error\n"); 
    94       pcontrol_exit (1);
     94      pcontrol_exit (57);
    9595  }
    9696  HarvestHost (host[0].pid);
     
    140140      if (result != pid) {
    141141        gprint (GP_ERR, "waitpid error: mis-matched PID (%d vs %d).  programming error\n", result, pid);
    142         pcontrol_exit (1);
     142        pcontrol_exit (58);
    143143      }
    144144     
     
    151151      if (WIFSTOPPED(waitstatus)) {
    152152        gprint (GP_ERR, "waitpid returns 'stopped': programming error\n");
    153         pcontrol_exit (1);
     153        pcontrol_exit (59);
    154154      }
    155155  }
Note: See TracChangeset for help on using the changeset viewer.