mirror of
https://github.com/owntone/owntone-server.git
synced 2024-12-27 15:45:56 -05:00
[scan] Fix exit and error message if nested playlist is invalid
This commit is contained in:
parent
6b007dcd26
commit
84aced0a3d
@ -187,8 +187,8 @@ process_nested_playlist(int parent_id, const char *path)
|
|||||||
deref = realpath(path, NULL);
|
deref = realpath(path, NULL);
|
||||||
if (!deref)
|
if (!deref)
|
||||||
{
|
{
|
||||||
DPRINTF(E_LOG, L_SCAN, "Could not dereference path '%s'\n", path);
|
DPRINTF(E_LOG, L_SCAN, "Could not dereference path '%s': %s\n", path, strerror(errno));
|
||||||
goto error;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Do we already have the playlist in the database?
|
// Do we already have the playlist in the database?
|
||||||
|
Loading…
Reference in New Issue
Block a user