Do a fail fast if there are pip install issues
The script quickstart.sh was not failing at the pip install line, adding a check of the rc after the () block and returnig the same rc. Depends-On: I9d561aa2e2f71b8892580950e9664d62f956773d Change-Id: Ib7a46e4c15a93c62bdde66495030e4734728a890 Closes-Bug: 1708986
This commit is contained in:
parent
1b19b53b13
commit
19b345fb97
@ -150,6 +150,11 @@ bootstrap () {
|
||||
fi
|
||||
popd
|
||||
)
|
||||
bootstrap_rc=$?
|
||||
if [ $bootstrap_rc -ne 0 ]; then
|
||||
return $bootstrap_rc
|
||||
fi
|
||||
|
||||
# In order to do any filesystem operations on the system running ansible (if it has SELinux intalled)
|
||||
# we need the python bindings in the venv. Unfortunately, it is not available on pypi, so we need to
|
||||
# pull it from the system site packages.
|
||||
|
Loading…
Reference in New Issue
Block a user