config/Global: move config_global_check() to Check.cxx

This commit is contained in:
Max Kellermann
2018-08-19 23:01:30 +02:00
parent 4accc1f159
commit afd0fe666a
6 changed files with 87 additions and 32 deletions

View File

@@ -53,6 +53,7 @@
#include "net/Init.hxx"
#include "lib/icu/Init.hxx"
#include "config/Global.hxx"
#include "config/Check.hxx"
#include "config/Data.hxx"
#include "config/Param.hxx"
#include "config/Path.hxx"
@@ -643,7 +644,7 @@ mpd_main_after_fork(const ConfigData &raw_config, const Config &config)
}
#endif
config_global_check();
Check(raw_config);
/* enable all audio outputs (if not already done by
playlist_state_restore() */