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:
parent
298d5ce059
commit
9a222cab6c
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user