summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@googlemail.com>2016-12-30 20:25:12 +0100
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2017-05-19 03:43:27 +0200
commit85d4534aeb66d1957dd51ba43048507bfb6285a5 (patch)
treef3fed76b61a8333254eeb687d6d0423c6ee593bf /bin
parent0bd4bb66745d06a508e52db4c790334aee17f596 (diff)
handle signing errors much better
Change-Id: I94be7b3626b9ac3389cba0bee640923adda0f118
Diffstat (limited to 'bin')
-rwxr-xr-xbin/update/create_full_mar.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/update/create_full_mar.py b/bin/update/create_full_mar.py
index e657e124971d..25e654c9cd8b 100755
--- a/bin/update/create_full_mar.py
+++ b/bin/update/create_full_mar.py
@@ -47,7 +47,7 @@ def main():
subprocess.call([os.path.join(current_dir_path, 'make_full_update.sh'), mar_file, uncompress_dir])
signed_mar_file = make_mar_name(target_dir, filename_prefix + '_signed')
- subprocess.call([mar_executable, '-C', target_dir, '-d', config.certificate_path, '-n', config.certificate_name, '-s', mar_file, signed_mar_file])
+ subprocess.check_call([mar_executable, '-C', target_dir, '-d', config.certificate_path, '-n', config.certificate_name, '-s', mar_file, signed_mar_file])
os.rename(signed_mar_file, mar_file)