[dovetail] Bugfix: incorrectly exit when file doesn't exist 11/63511/1
authorxudan <xudan16@huawei.com>
Mon, 15 Oct 2018 01:55:44 +0000 (21:55 -0400)
committerxudan <xudan16@huawei.com>
Mon, 15 Oct 2018 01:55:44 +0000 (21:55 -0400)
commit8ca0b630db9e5c229663be2fbd4550bfee35f719
tree467fd94f8dfa54efc7e1087489f698f909b866d0
parent0028e2f29f979fbda078b81bda0369a7b3262179
[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>
jjb/dovetail/dovetail-run.sh