ostbuild: Actually exit with error if we fail a build
This commit is contained in:
parent
8ffd26cd42
commit
9d37f76a5a
|
|
@ -132,7 +132,7 @@ def run_sync_monitor_log_file(args, logfile, cwd=None, env=None,
|
|||
logfn = fatal
|
||||
else:
|
||||
logfn = log
|
||||
log("pid %d exited with code %d" % (pid, estatus))
|
||||
logfn("pid %d exited with code %d" % (pid, estatus))
|
||||
loop.quit()
|
||||
loop.watch_pid(proc.pid, _on_pid_exited)
|
||||
loop.run()
|
||||
|
|
|
|||
Loading…
Reference in New Issue