Skip to content
Snippets Groups Projects
Commit 6ef5a36b authored by Tobias Hunger's avatar Tobias Hunger
Browse files

AbstractProcessStep: Make init fail if a process is still running


This should not happen, but better save than sorry.

Task-number: QTCREATORBUG-17984
Change-Id: I3efa8fb38a915ae29366f3ab715077b762d53828
Reviewed-by: default avatarTim Jenssen <tim.jenssen@qt.io>
parent b5ab98df
No related branches found
No related tags found
No related merge requests found
......@@ -158,7 +158,7 @@ void AbstractProcessStep::setIgnoreReturnValue(bool b)
bool AbstractProcessStep::init(QList<const BuildStep *> &earlierSteps)
{
Q_UNUSED(earlierSteps);
return true;
return !m_process;
}
/*!
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment