mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-25 11:58:55 +00:00
capture error code
This commit is contained in:
parent
61b2387829
commit
88b46fae6c
@ -131,8 +131,9 @@ do
|
||||
continue
|
||||
fi
|
||||
check_update "$source_build_platform" "downloads/$source_file" "downloads/$target_file"
|
||||
if [ "$?" != "0" ]; then
|
||||
echo "FAIL: check_update returned non-zero exit code: $?" |tee /dev/stderr
|
||||
$err = $?
|
||||
if [ "$err" != "0" ]; then
|
||||
echo "FAIL: check_update returned non-zero exit code: $err" |tee /dev/stderr
|
||||
continue
|
||||
fi
|
||||
done
|
||||
|
Loading…
x
Reference in New Issue
Block a user