[ostree] ostbuild: Actually exit with error if we fail a build
- From: Colin Walters <walters src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [ostree] ostbuild: Actually exit with error if we fail a build
- Date: Tue, 17 Jan 2012 01:20:15 +0000 (UTC)
commit 9d37f76a5a8a90c489a337b169d931120470257c
Author: Colin Walters <walters verbum org>
Date: Mon Jan 16 17:50:57 2012 -0500
ostbuild: Actually exit with error if we fail a build
src/ostbuild/pyostbuild/subprocess_helpers.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/ostbuild/pyostbuild/subprocess_helpers.py b/src/ostbuild/pyostbuild/subprocess_helpers.py
index a4dc100..66e365b 100755
--- a/src/ostbuild/pyostbuild/subprocess_helpers.py
+++ b/src/ostbuild/pyostbuild/subprocess_helpers.py
@@ -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()
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]