IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Feb 22, 2008, 10:21:52 AM (18 years ago)
Author:
eugene
Message:

using new user/site/system construction for config files

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psModules/src/detrend/pmDetrendDB.c

    r15911 r16611  
    115115    PS_ASSERT_PTR_NON_NULL(options, NULL);
    116116    PS_ASSERT_PTR_NON_NULL(config, NULL);
    117     PS_ASSERT_PTR_NON_NULL(config->site, NULL);
    118117
    119118    int status, exit_status;
     
    150149        psStringAppend(&line, " -airmass %f", options->twilight);
    151150    }
    152 
    153     pmConfigDatabaseCommand(&line, config);
    154     pmConfigTraceCommand(&line);
     151   
     152    if (!pmConfigDatabaseCommand(&line, config)) {
     153        psError (PS_ERR_IO, false, "error building detrend command %s", line);
     154        goto failure;
     155    }
     156
     157    if (!pmConfigTraceCommand(&line)) {
     158        psError (PS_ERR_IO, false, "error building detrend command %s", line);
     159        goto failure;
     160    }
     161
    155162    psTrace("psModules.detrend", 5, "running %s", line);
    156163
Note: See TracChangeset for help on using the changeset viewer.