Skip to content

Commit

Permalink
Fix build.
Browse files Browse the repository at this point in the history
  • Loading branch information
dchapyshev committed Dec 1, 2023
1 parent 4465c4a commit 8370a33
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions source/host/desktop_session_process.cc
Original file line number Diff line number Diff line change
Expand Up @@ -325,7 +325,7 @@ std::unique_ptr<DesktopSessionProcess> DesktopSessionProcess::create(
std::string command_line =
fmt::format("sudo DISPLAY=':0' -u {} {} --channel_id={} &",
user_name,
filePath(),
filePath().c_str(),
base::local8BitFromUtf16(channel_id));

LOG(LS_INFO) << "Start desktop session agent: " << command_line;
Expand All @@ -348,7 +348,7 @@ std::unique_ptr<DesktopSessionProcess> DesktopSessionProcess::create(

std::string command_line =
fmt::format("sudo DISPLAY=':0' -u root {} --channel_id={} &",
filePath(),
filePath().c_str(),
base::local8BitFromUtf16(channel_id));

LOG(LS_INFO) << "Start desktop session agent: " << command_line;
Expand Down

0 comments on commit 8370a33

Please sign in to comment.