diff options
author | Andrei Vagin <avagin@google.com> | 2020-04-09 01:11:20 -0700 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2020-04-09 01:12:27 -0700 |
commit | 1ebfdcc86c1b066a044a64e1f34b679f327a1f36 (patch) | |
tree | c0a0597067c6ddc3950e1ef715eda7f8c03dce2d /benchmarks | |
parent | 21e438d257861eadc1dafcee914e4a51cffd3852 (diff) |
kokoro: fix handling of apt-get errors
When a command is called as if expression, its error
code can be get only in this if block.
For example, the next script prints 0:
if ( false ); then
true
fi
echo $?
PiperOrigin-RevId: 305638629
Diffstat (limited to 'benchmarks')
0 files changed, 0 insertions, 0 deletions