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

    r7027 r7037  
    7878    // define Database handle, if used
    7979    config->dbh = pmConfigDB(config->modules);
     80    if (!config->dbh) {
     81        psError(PS_ERR_UNKNOWN, false, "Can't configure database");
     82        exit(EXIT_FAILURE);
     83    }
     84
    8085    return config;
    8186}
Note: See TracChangeset for help on using the changeset viewer.