Commit 330a4cf5 authored by Max Kellermann's avatar Max Kellermann

Main: remove exception handler from mpd_main_after_fork()

Let MainOrThrow() forward it to mpd_main().
parent 6ffbb151
...@@ -547,7 +547,7 @@ int mpd_main(int argc, char *argv[]) ...@@ -547,7 +547,7 @@ int mpd_main(int argc, char *argv[])
static int static int
mpd_main_after_fork(const ConfigData &raw_config, const Config &config) mpd_main_after_fork(const ConfigData &raw_config, const Config &config)
try { {
ConfigureFS(raw_config); ConfigureFS(raw_config);
glue_mapper_init(raw_config); glue_mapper_init(raw_config);
...@@ -721,9 +721,6 @@ try { ...@@ -721,9 +721,6 @@ try {
IcuFinish(); IcuFinish();
return EXIT_SUCCESS; return EXIT_SUCCESS;
} catch (const std::exception &e) {
LogError(e);
return EXIT_FAILURE;
} }
#ifdef ANDROID #ifdef ANDROID
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment