more verbose error to try and highlight permissions problems
This commit is contained in:
parent
007fb3725c
commit
c75a402576
|
@ -292,8 +292,8 @@ int db_open(char *parameters, int reload) {
|
||||||
db_gdbmunlock();
|
db_gdbmunlock();
|
||||||
|
|
||||||
if(!db_songs) {
|
if(!db_songs) {
|
||||||
DPRINTF(E_FATAL,L_DB,"Could not open songs database (%s)\n",
|
DPRINTF(E_FATAL,L_DB,"Could not open songs database (%s): %s\n",
|
||||||
db_path);
|
db_path,strerror(errno));
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue