Fix error handling when makechrootpkg can not be invoked
This commit is contained in:
parent
b9c7f05ef1
commit
efbcef5e6e
|
@ -1324,7 +1324,6 @@ void ConductBuild::handleMakechrootpkgErrorsAndAddPackageToRepo(const BatchProce
|
||||||
dumpBuildProgress();
|
dumpBuildProgress();
|
||||||
lock.unlock();
|
lock.unlock();
|
||||||
m_buildAction->log()(Phrases::ErrorMessage, "Unable to invoke makechrootpkg for ", packageName, ": ", errorMessage, '\n');
|
m_buildAction->log()(Phrases::ErrorMessage, "Unable to invoke makechrootpkg for ", packageName, ": ", errorMessage, '\n');
|
||||||
return;
|
|
||||||
}
|
}
|
||||||
if (child.exit_code() != 0) {
|
if (child.exit_code() != 0) {
|
||||||
packageProgress.error = argsToString("unable to build: makechrootpkg returned with exit code ", child.exit_code());
|
packageProgress.error = argsToString("unable to build: makechrootpkg returned with exit code ", child.exit_code());
|
||||||
|
|
Loading…
Reference in New Issue