summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMax Kellermann <max@musicpd.org>2018-08-01 20:14:05 +0200
committerMax Kellermann <max@musicpd.org>2018-08-01 20:15:54 +0200
commit330a4cf573e23eb264cdb54e1a4e97f0834c8db6 (patch)
treee284af2a1af6e7e90a3a7502c17aa129538a09a0 /src
parent6ffbb151a0f4ae8d52b6c28a5c45fc2c3807f723 (diff)
Main: remove exception handler from mpd_main_after_fork()
Let MainOrThrow() forward it to mpd_main().
Diffstat (limited to 'src')
-rw-r--r--src/Main.cxx5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/Main.cxx b/src/Main.cxx
index 8e7fc1236..49f3ea731 100644
--- a/src/Main.cxx
+++ b/src/Main.cxx
@@ -547,7 +547,7 @@ int mpd_main(int argc, char *argv[])
static int
mpd_main_after_fork(const ConfigData &raw_config, const Config &config)
-try {
+{
ConfigureFS(raw_config);
glue_mapper_init(raw_config);
@@ -721,9 +721,6 @@ try {
IcuFinish();
return EXIT_SUCCESS;
-} catch (const std::exception &e) {
- LogError(e);
- return EXIT_FAILURE;
}
#ifdef ANDROID