diff options
author | Alex Deymo <deymo@chromium.org> | 2015-02-21 01:10:30 -0800 |
---|---|---|
committer | ChromeOS Commit Bot <chromeos-commit-bot@chromium.org> | 2015-02-23 20:02:49 +0000 |
commit | 3fec0e47bd618296c03df027990114c221ac645b (patch) | |
tree | edee943ef5b0bdab451a2122c4522c3d49c218f4 /emerge_test.sh | |
parent | 317bb498a697ae49f070e3ca46100b879f25aa1b (diff) | |
download | vboot_reference-3fec0e47bd618296c03df027990114c221ac645b.tar.gz |
cgpt_wrapper: Print error if execv() fails.
This shows an error message when cgpt.bin failed to run, with its
reason. Without this patch, "cgpt" would just fail and return -1 in
that case making it difficult to know the reason of the failure.
BUG=chrome-os-partner:36061
TEST=replaced this binary in storm recovery initramfs 6699.0.0 and it
shows the error message if cgpt.bin is not installed.
BRANCH=None
Change-Id: I3ffaba5a63c491ac7d5b16086d5ae21005f40317
Reviewed-on: https://chromium-review.googlesource.com/251868
Reviewed-by: Alex Deymo <deymo@chromium.org>
Commit-Queue: Alex Deymo <deymo@chromium.org>
Trybot-Ready: Alex Deymo <deymo@chromium.org>
Tested-by: Alex Deymo <deymo@chromium.org>
Diffstat (limited to 'emerge_test.sh')
0 files changed, 0 insertions, 0 deletions