IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Feb 25, 2010, 4:26:50 PM (16 years ago)
Author:
Paul Price
Message:

Reworking error codes to get consistent exit codes.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/pswarp/src/pswarp.c

    r23195 r27096  
    2828
    2929    psLibInit(NULL);
    30 
    31     // model inits are needed in pmSourceIO
    32     // models defined in psphot/src/models are not available in psastro
    3330    pmModelClassInit();
    34 
    35     // init various psphot pieces (errors, models, threads)
    3631    psphotInit();
    3732
     
    6459    }
    6560
    66     psLogMsg("pswarp", 3, "complete pswarp run: %f sec\n", psTimerMark("pswarp"));
    67     pswarpCleanup(config);
    68     psLibFinalize();
    69     exit(PS_EXIT_SUCCESS);
     61    psLogMsg("pswarp", PS_LOG_INFO, "complete pswarp run: %f sec\n", psTimerMark("pswarp"));
     62
     63    psExit exitValue = pswarpCleanup(config);
     64    exit(exitValue);
    7065}
Note: See TracChangeset for help on using the changeset viewer.