diff options
author | George Engelbrecht <engeg@google.com> | 2020-10-31 16:07:15 -0600 |
---|---|---|
committer | George Engelbrecht <engeg@google.com> | 2020-10-31 22:11:34 +0000 |
commit | 45d821b531a9469d4e884c82c1e091631f7e069c (patch) | |
tree | 2f07f3017139209a01856b83897373f6dcad0212 /utility | |
parent | d621e58a53c72b64aea88df19fd29560d635e956 (diff) | |
download | vboot-45d821b531a9469d4e884c82c1e091631f7e069c.tar.gz |
common.sh: don't let eval terminate cleanup
Eval will terminate the shell on non-zero error code.
"POSIX says that an error in a special built-in utility
(such as eval) should cause the non-interactive shell to terminate"
This is the case and is causing cleanup to terminate android signing
with a non-zero error when it is clear the intent (given the set +e) is
that we should be best effort here.
BUG=chromium:1141907
TEST=unittest and manually on a signer
Change-Id: Ie6374b292c7982371d549b919b44328ea71a09dd
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/vboot_reference/+/2513228
Reviewed-by: George Engelbrecht <engeg@google.com>
Tested-by: George Engelbrecht <engeg@google.com>
Diffstat (limited to 'utility')
0 files changed, 0 insertions, 0 deletions