Main: remove exception handler from mpd_main_after_fork()

Let MainOrThrow() forward it to mpd_main().
This commit is contained in:
Max Kellermann 2018-08-01 20:14:05 +02:00
parent 6ffbb151a0
commit 330a4cf573

View File

@ -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