Call initLocalization() earlier so that errors, --version, etc. output

correctly.

git-svn-id: https://svn.musicpd.org/mpd/trunk@5264 09075e82-0dd4-0310-85a5-a0d7c8717e4f
This commit is contained in:
J. Alexander Treuman 2007-01-17 16:06:21 +00:00
parent 298d5ce059
commit 9a222cab6c

View File

@ -421,6 +421,7 @@ int main(int argc, char *argv[])
closeAllFDs();
initLocalization();
initConf();
parseOptions(argc, argv, &options);
@ -430,7 +431,6 @@ int main(int argc, char *argv[])
initStats();
initTagConfig();
initLocalization();
initLog(options.verbose);
if (options.createDB <= 0 && !options.updateDB)