commit | 135197526b9c0f5a9acac57a05129339f311bbca | [log] [tgz] |
---|---|---|
author | Sen Jiang <senj@google.com> | Tue Aug 02 16:10:52 2016 -0700 |
committer | Sen Jiang <senj@google.com> | Fri Aug 05 11:19:04 2016 -0700 |
tree | 986e0ca3438de3f96235207597d82f9ba1965e63 | |
parent | 44348e01c0c66e6baf1376f0b712ecae26fc5595 [diff] |
brillo_update_payload: Show correct error when delta_generator not found. If delta_generator is not in PATH, $(which delta_generator) will return 1 and then the script just go ahead to cleanup because trap is set on ERR, but the error message never got a chance to be showed. Bug: None Test: run brillo_update_payload without delta_generator in PATH. Change-Id: Ie7a6943f174f69e11ca795351d72c20516792f6f