diff options
author | Max Kellermann <max@musicpd.org> | 2016-10-27 21:27:19 +0200 |
---|---|---|
committer | Max Kellermann <max@musicpd.org> | 2016-10-27 21:27:19 +0200 |
commit | 680037927da3536ba08234f1dc247b6b6ea5b00f (patch) | |
tree | 1090e7f8a5f43973b11bf145424049cbdd101d8e /src/storage | |
parent | 60f72f0ff9a1072cde88cec288b26948c5ad47fe (diff) | |
parent | ee026386e557da59806d06585e968622df365032 (diff) |
Merge branch 'v0.19.x'
Diffstat (limited to 'src/storage')
-rw-r--r-- | src/storage/CompositeStorage.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/storage/CompositeStorage.cxx b/src/storage/CompositeStorage.cxx index e28cb487a..bc0b9d56e 100644 --- a/src/storage/CompositeStorage.cxx +++ b/src/storage/CompositeStorage.cxx @@ -287,7 +287,8 @@ CompositeStorage::GetInfo(const char *uri, bool follow, StorageFileInfo &info, return true; } - error.Set(composite_domain, "No such directory"); + if (!error.IsDefined()) + error.Set(composite_domain, "No such directory"); return false; } |