diff options
| author | Sen Jiang <senj@google.com> | 2016-08-02 16:10:52 -0700 |
|---|---|---|
| committer | Sen Jiang <senj@google.com> | 2016-08-05 11:19:04 -0700 |
| commit | 135197526b9c0f5a9acac57a05129339f311bbca (patch) | |
| tree | 986e0ca3438de3f96235207597d82f9ba1965e63 /scripts/update_payload/format_utils.py | |
| 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
Diffstat (limited to 'scripts/update_payload/format_utils.py')
0 files changed, 0 insertions, 0 deletions
