diff options
Diffstat (limited to 'py/mock.py')
-rwxr-xr-x | py/mock.py | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -652,6 +652,11 @@ if __name__ == '__main__': exitStatus = 7 log.error("Exiting on user interrupt, <CTRL>-C") + except (mock.exception.ResultDirNotAccessible,), exc: + exitStatus = exc.resultcode + log.error(str(exc)) + killOrphans = 0 + except (mock.exception.BadCmdline, mock.exception.BuildRootLocked), exc: exitStatus = exc.resultcode log.error(str(exc)) |