IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 29693


Ignore:
Timestamp:
Nov 7, 2010, 2:19:18 PM (16 years ago)
Author:
eugene
Message:

check for failure to write catalog files

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/ipp-20101103/Ohana/src/dvomerge/src/dvomergeUpdate.c

    r29001 r29693  
    121121      // if we receive a signal which would cause us to exit, wait until the full catalog is written
    122122      SetProtect (TRUE);
    123       dvo_catalog_save (&outcatalog, VERBOSE);
     123      if (!dvo_catalog_save (&outcatalog, VERBOSE)) {
     124        fprintf (stderr, "ERROR: failed to save catalog %s\n", outlist[0].filename[j]);
     125        exit (1);
     126      }
    124127      SetProtect (FALSE);
    125128
Note: See TracChangeset for help on using the changeset viewer.