fix override path

This commit is contained in:
Shelley Vohr 2017-08-07 14:04:13 -07:00 committed by Shelley Vohr
parent 3de008035a
commit e096b5ce83
No known key found for this signature in database
GPG key ID: F13993A75599653C

View file

@ -98,11 +98,11 @@ void OverrideLinuxAppDataPath() {
void OverrideLinuxAppLogsPath() { void OverrideLinuxAppLogsPath() {
std::string appName = GetApplicationName(); std::string appName = GetApplicationName();
std::string logPath = "/var/log" std::string logPath = "/var/log";
std::string appLogPath = logPath + appName std::string appLogPath = logPath + appName;
PathService::Override(DIR_APP_DATA, base::FilePath(appLogPath)); PathService::Override(DIR_APP_LOGS base::FilePath(appLogPath));
} }
int BrowserX11ErrorHandler(Display* d, XErrorEvent* error) { int BrowserX11ErrorHandler(Display* d, XErrorEvent* error) {