diff options
author | Tristan Van Berkom <tristan.vanberkom@codethink.co.uk> | 2017-07-03 20:36:30 +0900 |
---|---|---|
committer | Tristan Van Berkom <tristan.vanberkom@codethink.co.uk> | 2017-07-03 20:36:30 +0900 |
commit | cc03ea692ee443bb6a5957f02f3c27a8ebaea3c6 (patch) | |
tree | 729074e5866dbbf6d0b955152c581045be38b3a3 /buildstream/_ostree.py | |
parent | 6fd4e6e2545eca2b7ed812f0922066c343dbd54c (diff) | |
download | buildstream-cc03ea692ee443bb6a5957f02f3c27a8ebaea3c6.tar.gz |
_ostree.py: Call ostree shell scripts with SIGTERM handling enabled.
Diffstat (limited to 'buildstream/_ostree.py')
-rw-r--r-- | buildstream/_ostree.py | 2 |
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) |