commit | 79f1f9096aab6a6b24158b5bb8256ff8e270e9c7 | [log] [tgz] |
---|---|---|
author | Don Garrett <[email protected]> | Wed Mar 26 18:14:31 2014 |
committer | Don Garrett <[email protected]> | Wed Mar 26 20:25:06 2014 |
tree | ca026ae36366c29e8a60ed30e429cc8a175a92c5 | |
parent | d8d595caaf77b6c699181bc04770c294c7b2fa82 [diff] |
Return a non-zero exit code if cleanup fails. This is an attempt to work around crbug.com/353558, which is believed to be caused by non-atomic umount, which is believed to be a kernel bug. If any command returns an error during the cleanup, make the script return a non-zero exit code. This triggers additional logging in most call sites for the script. Also, dump mount related debug info after every umount or rmdir failure to help try and diagnose this. BUG=chromium:353558 TEST=Local payload generation. Change-Id: I014bd372f5c55e64383572df27b3cbba9b944337 Reviewed-on: https://chromium-review.googlesource.com/191702 Reviewed-by: Don Garrett <[email protected]> Commit-Queue: Don Garrett <[email protected]> Tested-by: Don Garrett <[email protected]>