IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 28960


Ignore:
Timestamp:
Aug 18, 2010, 7:43:29 PM (16 years ago)
Author:
bills
Message:

optionally dump the configuration

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psphot/src/psphotStack.c

    r27547 r28960  
    2424        exit (psphotGetExitStatus());
    2525    }
     26    // Dump configuration
     27    bool mdok;
     28    psString dump = psMetadataLookupStr(&mdok, config->arguments, "DUMP_CONFIG"); // File for config
     29    if (dump && !pmConfigDump(config, dump)) {
     30        psError(psErrorCodeLast(), false, "Unable to dump configuration.");
     31        exit (psphotGetExitStatus());
     32    }
     33
     34
    2635
    2736    psLogMsg ("psphot", 3, "complete psphot run: %f sec\n", psTimerMark ("complete"));
Note: See TracChangeset for help on using the changeset viewer.