This commit is contained in:
2007-06-08 14:01:04 +00:00
parent 82c93c6d10
commit 88f0fff090

View File

@ -190,12 +190,13 @@ int main(int argc, char **argv){
/** /**
* try to get the database name from environment variable * try to get the database name from environment variable
* if no database name specified in the -d option * if no database name specified in the -d option
*/
if (!database && getenv("ECOPCRDB")) if (database == NULL)
{
database = getenv("ECOPCRDB"); database = getenv("ECOPCRDB");
else if (database == NULL)
errflag++; errflag++;
*/ }
/** /**
* check everything required is provided * check everything required is provided