From e096b5ce83c6d3de207b2c5c0e0a6676b6934462 Mon Sep 17 00:00:00 2001 From: Shelley Vohr Date: Mon, 7 Aug 2017 14:04:13 -0700 Subject: [PATCH] fix override path --- brightray/browser/browser_main_parts.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/brightray/browser/browser_main_parts.cc b/brightray/browser/browser_main_parts.cc index 47a0e9df1e3..9bf2e104a94 100644 --- a/brightray/browser/browser_main_parts.cc +++ b/brightray/browser/browser_main_parts.cc @@ -98,11 +98,11 @@ void OverrideLinuxAppDataPath() { void OverrideLinuxAppLogsPath() { 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) {