Merge branch 'release-1.2' into develop
This commit is contained in:
@ -279,10 +279,13 @@ GWPROTOCOL *funcs;
|
||||
|
||||
if(mkdir_rval)
|
||||
{
|
||||
skygw_log_write(LOGFILE_ERROR,"Error : Failed to create directory '%s': [%d] %s",
|
||||
path,
|
||||
errno,
|
||||
strerror(errno));
|
||||
if(errno != EEXIST)
|
||||
{
|
||||
skygw_log_write(LOGFILE_ERROR,"Error : Failed to create directory '%s': [%d] %s",
|
||||
path,
|
||||
errno,
|
||||
strerror(errno));
|
||||
}
|
||||
mkdir_rval = 0;
|
||||
}
|
||||
|
||||
@ -294,10 +297,13 @@ GWPROTOCOL *funcs;
|
||||
|
||||
if(mkdir_rval)
|
||||
{
|
||||
skygw_log_write(LOGFILE_ERROR,"Error : Failed to create directory '%s': [%d] %s",
|
||||
path,
|
||||
errno,
|
||||
strerror(errno));
|
||||
if(errno != EEXIST)
|
||||
{
|
||||
skygw_log_write(LOGFILE_ERROR,"Error : Failed to create directory '%s': [%d] %s",
|
||||
path,
|
||||
errno,
|
||||
strerror(errno));
|
||||
}
|
||||
mkdir_rval = 0;
|
||||
}
|
||||
strncat(path, "/dbusers", PATH_MAX);
|
||||
|
Reference in New Issue
Block a user