Skip to content

Commit 2591887

Browse files
author
Dmitry Chapyshev
committed
Fix build.
1 parent 1231768 commit 2591887

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

source/host/desktop_session_process.cc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -334,7 +334,7 @@ void DesktopSessionProcess::start(base::SessionId session_id, const QString& cha
334334
QString user_name = splitted.front();
335335
QByteArray command_line =
336336
QString("sudo DISPLAY=':0' -u %1 %2 --channel_id=%3 &")
337-
.arg(user_name, filePath(), channel_id).toLocal8Bit();
337+
.arg(user_name, filePath(), channel_name).toLocal8Bit();
338338

339339
LOG(INFO) << "Start desktop session agent:" << command_line;
340340

@@ -359,7 +359,7 @@ void DesktopSessionProcess::start(base::SessionId session_id, const QString& cha
359359

360360
QByteArray command_line =
361361
QString("sudo DISPLAY=':0' -u root %1 --channel_id=%2 &")
362-
.arg(filePath(), channel_id).toLocal8Bit();
362+
.arg(filePath(), channel_name).toLocal8Bit();
363363

364364
LOG(INFO) << "Start desktop session agent:" << command_line;
365365

0 commit comments

Comments
 (0)