Return false when external command helper reports failure.
This commit is contained in:
parent
64419caa8d
commit
3f65e94659
|
@ -174,7 +174,7 @@ bool ExternalCommand::start(int timeout)
|
|||
|
||||
d->m_Output = reply.value()[QStringLiteral("output")].toByteArray();
|
||||
setExitCode(reply.value()[QStringLiteral("exitCode")].toInt());
|
||||
rval = true;
|
||||
rval = reply.value()[QStringLiteral("success")].toBool();
|
||||
}
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue