Fix linux launching of adb server

This commit is contained in:
baldurk
2019-05-02 13:30:26 +01:00
parent 225e34c592
commit c515065dcf
2 changed files with 7 additions and 2 deletions
+2 -1
View File
@@ -344,7 +344,8 @@ void initAdb()
Process::ProcessResult res = {};
Process::LaunchProcess(adb.c_str(), workdir.c_str(), "start-server", true, &res);
if(res.strStdout.find("daemon") != std::string::npos)
if(res.strStdout.find("daemon") != std::string::npos ||
res.strStderror.find("daemon") != std::string::npos)
{
RDCLOG("Started adb server");
}