Main: remove exception handler from mpd_main_after_fork()
Let MainOrThrow() forward it to mpd_main().
This commit is contained in:
parent
6ffbb151a0
commit
330a4cf573
@ -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 {
|
|||||||
IcuFinish();
|
IcuFinish();
|
||||||
|
|
||||||
return EXIT_SUCCESS;
|
return EXIT_SUCCESS;
|
||||||
} catch (const std::exception &e) {
|
|
||||||
LogError(e);
|
|
||||||
return EXIT_FAILURE;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef ANDROID
|
#ifdef ANDROID
|
||||||
|
Loading…
Reference in New Issue
Block a user