forked from qt-creator/qt-creator
Utils: Fix DeviceShell error handling
Change-Id: I5e519ffa9672841d84e565ea5fd222d21ca354bd Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
@@ -214,7 +214,8 @@ bool DeviceShell::start()
|
||||
m_shellProcess->kill();
|
||||
m_shellProcess.reset();
|
||||
return false;
|
||||
}
|
||||
} else
|
||||
return false;
|
||||
|
||||
connect(m_shellProcess.get(), &Process::done, m_shellProcess.get(), [this] {
|
||||
if (m_shellProcess->resultData().m_exitCode != EXIT_SUCCESS
|
||||
|
Reference in New Issue
Block a user