IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
May 1, 2006, 4:16:06 PM (20 years ago)
Author:
jhoblitt
Message:

make sure db connection is setup

File:
1 edited

Legend:

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

    r7027 r7037  
    130130    // define Database handle, if used
    131131    config->dbh = pmConfigDB(config->modules);
     132    if (!config->dbh) {
     133        psError(PS_ERR_UNKNOWN, false, "Can't configure database");
     134        exit(EXIT_FAILURE);
     135    }
    132136
    133137    return config;
Note: See TracChangeset for help on using the changeset viewer.