diff --git a/pym/bob/builder.py b/pym/bob/builder.py index a4117a40..20c7b058 100644 --- a/pym/bob/builder.py +++ b/pym/bob/builder.py @@ -787,7 +787,8 @@ async def _runShell(self, step, scriptName, logger, cleanWorkspace=None, logger.setError(invoker.getStdio().strip()) raise BuildError("{} returned with {}" .format(absRunFile, ret), - help="You may resume at this point with '--resume' after fixing the error.") + help="You may resume at this point with '--resume' after fixing the error.", + returncode=ret) def getStatistic(self): return self.__statistic