Fixed: Use default path for ryzom_installer.log is installation directory not defined

--HG--
branch : develop
This commit is contained in:
kervala 2016-11-21 16:35:18 +01:00
parent 88bfa8ec70
commit 7afe10373b

View file

@ -152,7 +152,7 @@ int main(int argc, char *argv[])
bool res = config.load();
// init log
CLogHelper logHelper(config.getInstallationDirectory());
CLogHelper logHelper(config.getInstallationDirectory().isEmpty() ? config.getNewInstallationDirectory():config.getInstallationDirectory());
nlinfo("Launched %s", Q2C(config.getInstallerCurrentFilePath()));