aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2014-01-22 16:28:19 +0100
committerMax Kellermann <max@duempel.org>2014-01-22 16:28:19 +0100
commit06166676885fc137301078cf880bad466f09a33a (patch)
tree7f9ba3138f64a31d9f3d61de3058ef2346244f5a
parent9747cc9e587a9987a7bdeee0ccf9b3b56f3c803e (diff)
downloadmpd-06166676885fc137301078cf880bad466f09a33a.tar.gz
mpd-06166676885fc137301078cf880bad466f09a33a.tar.xz
mpd-06166676885fc137301078cf880bad466f09a33a.zip
Main: glue_mapper_init() returns true if GetUserMusicDir() fails
Not a fatal error. Fixes assertion failure.
-rw-r--r--src/Main.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Main.cxx b/src/Main.cxx
index 9cbefdc56..10a9091a1 100644
--- a/src/Main.cxx
+++ b/src/Main.cxx
@@ -139,7 +139,7 @@ glue_mapper_init(Error &error)
if (music_dir.IsNull()) {
music_dir = GetUserMusicDir();
if (music_dir.IsNull())
- return false;
+ return true;
}
mapper_init(std::move(music_dir), std::move(playlist_dir));