try to better guess mock's error log
Fixes: https://pagure.io/koji/issue/1899
This commit is contained in:
parent
2b2cfcf9e7
commit
c7d35e9121
1 changed files with 2 additions and 0 deletions
|
|
@ -559,6 +559,8 @@ class BuildRoot(object):
|
|||
pass
|
||||
elif os.WIFEXITED(rv) and os.WEXITSTATUS(rv) == 10:
|
||||
logfile = 'build.log'
|
||||
elif os.WIFEXITED(rv) and os.WEXITSTATUS(rv) == 1:
|
||||
logfile = 'build.log or root.log'
|
||||
else:
|
||||
logfile = 'root.log'
|
||||
msg = '; see %s for more information' % logfile
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue