diff --git a/source/host/client_session_file_transfer.cc b/source/host/client_session_file_transfer.cc index 43426e2e6c..eb010d97e0 100644 --- a/source/host/client_session_file_transfer.cc +++ b/source/host/client_session_file_transfer.cc @@ -283,7 +283,7 @@ void ClientSessionFileTransfer::onStarted() std::string command_line = fmt::format("sudo -u {} {} --channel_id={} &", user_name, - agentFilePath(), + agentFilePath().c_str(), base::local8BitFromUtf16(channel_id)); LOG(LS_INFO) << "Start file transfer session agent: " << command_line;