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/chiptoolConfig.c

    r7027 r7037  
    160160    // define Database handle, if used
    161161    config->dbh = pmConfigDB(config->modules);
     162    if (!config->dbh) {
     163        psError(PS_ERR_UNKNOWN, false, "Can't configure database");
     164        exit(EXIT_FAILURE);
     165    }
    162166
    163167    return true;
Note: See TracChangeset for help on using the changeset viewer.