summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTristan Van Berkom <tristan.vanberkom@codethink.co.uk>2017-07-03 20:36:30 +0900
committerTristan Van Berkom <tristan.vanberkom@codethink.co.uk>2017-07-03 20:36:30 +0900
commitcc03ea692ee443bb6a5957f02f3c27a8ebaea3c6 (patch)
tree729074e5866dbbf6d0b955152c581045be38b3a3
parent6fd4e6e2545eca2b7ed812f0922066c343dbd54c (diff)
downloadbuildstream-cc03ea692ee443bb6a5957f02f3c27a8ebaea3c6.tar.gz
_ostree.py: Call ostree shell scripts with SIGTERM handling enabled.
-rw-r--r--buildstream/_ostree.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/buildstream/_ostree.py b/buildstream/_ostree.py
index 8d0b612c4..71c55d79e 100644
--- a/buildstream/_ostree.py
+++ b/buildstream/_ostree.py
@@ -308,6 +308,7 @@ def fetch_ssh(repo, remote, ref):
'--repo=' + repo.get_path().get_path(),
remote,
ref],
+ terminate=True,
stdout=subprocess.PIPE,
stderr=subprocess.STDOUT)
@@ -335,6 +336,7 @@ def push(repo, remote, ref):
'--repo=' + repo.get_path().get_path(),
remote,
ref],
+ terminate=True,
stdout=subprocess.PIPE,
stderr=subprocess.STDOUT)