diff --git a/src/as/asDbLib.c b/src/as/asDbLib.c index 45349078e..380effce7 100644 --- a/src/as/asDbLib.c +++ b/src/as/asDbLib.c @@ -184,8 +184,9 @@ static long asInitCommon(void) int asInit(void) { - asInitCommon(); - return(0); + /*If no access configuration file defined return success*/ + if(!pacf) return(0); + return(asInitCommon()); } static void wdCallback(ASDBCALLBACK *pcallback)