Return false when external command helper reports failure.

This commit is contained in:
Andrius Štikonas 2018-07-18 21:40:39 +01:00
parent 64419caa8d
commit 3f65e94659
1 changed files with 1 additions and 1 deletions

View File

@ -174,7 +174,7 @@ bool ExternalCommand::start(int timeout)
d->m_Output = reply.value()[QStringLiteral("output")].toByteArray(); d->m_Output = reply.value()[QStringLiteral("output")].toByteArray();
setExitCode(reply.value()[QStringLiteral("exitCode")].toInt()); setExitCode(reply.value()[QStringLiteral("exitCode")].toInt());
rval = true; rval = reply.value()[QStringLiteral("success")].toBool();
} }
}; };