Store and restore the xtrace option in devstack plugin
Otherwise we might upset the xtrace setting in other files. Change-Id: I93e7654fb67f455d3cbedb1e6cd010651d8d67dd
This commit is contained in:
parent
a744e1b9e7
commit
6d7c7cb00a
@ -38,6 +38,10 @@
|
||||
# CEILOMETER_COORDINATION_URL: URL for group membership service provided by tooz.
|
||||
# CEILOMETER_EVENTS: Set to True to enable event collection
|
||||
|
||||
# Save trace setting
|
||||
XTRACE=$(set +o | grep xtrace)
|
||||
set -o xtrace
|
||||
|
||||
# Support potential entry-points console scripts in VENV or not
|
||||
if [[ ${USE_VENV} = True ]]; then
|
||||
PROJECT_VENV["ceilometer"]=${CEILOMETER_DIR}.venv
|
||||
@ -412,3 +416,6 @@ if is_service_enabled ceilometer; then
|
||||
cleanup_ceilometer
|
||||
fi
|
||||
fi
|
||||
|
||||
# Restore xtrace
|
||||
$XTRACE
|
||||
|
Loading…
Reference in New Issue
Block a user