Index: src/trusted/service_runtime/linux/nacl_bootstrap_munge_phdr.py |
diff --git a/src/trusted/service_runtime/linux/nacl_bootstrap_munge_phdr.py b/src/trusted/service_runtime/linux/nacl_bootstrap_munge_phdr.py |
index b3a0e1ae627df92db526ab41c071c6da28c67c0a..03188b9677ad522c13f925014fba37aff58be40b 100644 |
--- a/src/trusted/service_runtime/linux/nacl_bootstrap_munge_phdr.py |
+++ b/src/trusted/service_runtime/linux/nacl_bootstrap_munge_phdr.py |
@@ -29,8 +29,12 @@ def Main(argv): |
[prog, munger, infile, outfile] = argv |
tmpfile = outfile + '.tmp' |
shutil.copy(infile, tmpfile) |
- segment_num = '2' |
- subprocess.check_call([munger, tmpfile, segment_num]) |
+ segment_num = '3' |
Mark Seaborn
2014/07/24 21:17:24
I investigated this.
I was able to reproduce the
|
+ cmd = [munger, tmpfile, segment_num] |
+ rtn = subprocess.call(cmd) |
+ if rtn != 0: |
+ print 'Command failed with %d: %s' % (rtn, cmd) |
+ return rtn |
shutil.move(tmpfile, outfile) |
return 0 |