IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
May 12, 2008, 4:38:31 PM (18 years ago)
Author:
jhoblitt
Message:

pass through the exit status from dsfilesetls

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ippTools/src/pzgetimfiles.c

    r17572 r17647  
    9595    if (exitStatus != 0) {
    9696        // mark the summitExp row as faulted
    97         if (!p_psDBRunQuery(config->dbh, "UPDATE summitExp SET fault = 123 WHERE exp_name = '%s' AND camera = '%s' AND telescope = '%s'", filesetid, camera, telescope)) {
     97        if (!p_psDBRunQuery(config->dbh, "UPDATE summitExp SET fault = %s WHERE exp_name = '%s' AND camera = '%s' AND telescope = '%s'", exitStatus, filesetid, camera, telescope)) {
    9898            psError(PS_ERR_UNKNOWN, false, "database error");
    9999        }
Note: See TracChangeset for help on using the changeset viewer.