mirror of
https://github.com/flatcar/scripts.git
synced 2025-09-22 22:21:10 +02:00
Use the ":" builtin command to prevent the increment of $ERROR_COUNT from ever failing under strict mode (i.e. "set -e"). cros_generate_breakpad_symbols failed for some reason, and this is my best guess as to the cause. That is, the post-increment would otherwise fail when $ERROR_COUNT is zero because it would have a non-zero exit status. BUG=chromium-os:31332 TEST=Manually ran script Change-Id: Iec7fd9358c339414ccd3c2ca1fd598f124375f0b Reviewed-on: https://gerrit.chromium.org/gerrit/23979 Reviewed-by: Mike Frysinger <vapier@chromium.org> Reviewed-by: Brian Harring <ferringb@chromium.org> Commit-Ready: Michael Krebs <mkrebs@chromium.org> Tested-by: Michael Krebs <mkrebs@chromium.org>
Description
Languages
Shell
93.1%
Python
6.9%