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/lib.shell/multicommand.c

    r16002 r16472  
    1212    /* check if down? */
    1313    fprintf (stderr, "error: server fd already defined\n");
    14     exit (1);
     14    exit (30);
    1515  }
    1616
     
    1818  if (VarConfig ("PANTASKS_SERVER", "%s", hostname) == NULL) {
    1919    gprint (GP_ERR, "pantasks server host undefined\n");
    20     exit (2);
     20    exit (31);
    2121  }
    2222
     
    7171              case EPIPE:
    7272                gprint (GP_ERR, "server connection has died\n");
    73                 exit (1);
     73                exit (32);
    7474              default:
    7575                gprint (GP_ERR, "server is busy...\n");
     
    8484              case EPIPE:
    8585                gprint (GP_ERR, "server connection has died\n");
    86                 exit (1);
     86                exit (33);
    8787              default:
    8888                gprint (GP_ERR, "server is busy...\n");
     
    9999              case EPIPE:
    100100                gprint (GP_ERR, "server connection has died\n");
    101                 exit (1);
     101                exit (34);
    102102              default:
    103103                gprint (GP_ERR, "server is busy...\n");
     
    114114              case EPIPE:
    115115                gprint (GP_ERR, "server connection has died\n");
    116                 exit (1);
     116                exit (35);
    117117              default:
    118118                gprint (GP_ERR, "server is busy...\n");
Note: See TracChangeset for help on using the changeset viewer.