diff options
author | xudan <xudan16@huawei.com> | 2018-10-14 21:55:44 -0400 |
---|---|---|
committer | xudan <xudan16@huawei.com> | 2018-10-14 21:55:44 -0400 |
commit | 8ca0b630db9e5c229663be2fbd4550bfee35f719 (patch) | |
tree | 467fd94f8dfa54efc7e1087489f698f909b866d0 /utils | |
parent | 0028e2f29f979fbda078b81bda0369a7b3262179 (diff) |
[dovetail] Bugfix: incorrectly exit when file doesn't exist
When checking files, it shouldn't exit when getting an non-zero results.
However, the scripts set -e at the begining.
In order to continue the following steps when the file doesn't exists, replace
all "return 0" or "return 1" to be "echo 0/1".
Change-Id: I28ea81d52182d4dc5db56d47abbfbc1761f17d81
Signed-off-by: xudan <xudan16@huawei.com>
Diffstat (limited to 'utils')
0 files changed, 0 insertions, 0 deletions