IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Oct 14, 2009, 5:36:51 PM (17 years ago)
Author:
Paul Price
Message:

Generate an error if the configuration dumping doesn't work.

File:
1 edited

Legend:

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

    r23753 r25847  
    7676    psTimerStop();
    7777
     78    psString dump_file = psMetadataLookupStr(NULL, data->config->arguments, "-dumpconfig");
     79    if (dump_file) {
     80        if (!pmConfigDump(data->config, dump_file)) {
     81            psErrorStackPrint(stderr, "Unable to dump configuration.\n");
     82            exitValue = PS_EXIT_SYS_ERROR;
     83        }
     84    }
    7885    psFree(data);
    7986
Note: See TracChangeset for help on using the changeset viewer.