Merge "Ensure xtrace is enabled in devstack plugin"

This commit is contained in:
Zuul 2020-08-24 14:32:58 +00:00 committed by Gerrit Code Review
commit 703a07df21
1 changed files with 7 additions and 1 deletions

View File

@ -1,7 +1,8 @@
#!/usr/bin/env bash
saveenv=$-
set -e
set -ex
# devstack plugin for octavia
@ -818,3 +819,8 @@ if [[ $saveenv =~ e ]]; then
else
set +e
fi
if [[ $saveenv =~ x ]]; then
set -x
else
set +x
fi