Skip to content

Commit 50749c8

Browse files
Jenkinsopenstack-gerrit
authored andcommitted
Merge "Set PS4 to provide additional debug info"
2 parents 88a41da + e16f854 commit 50749c8

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

devstack-vm-gate-wrap.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,8 @@ ANSIBLE_VERSION=${ANSIBLE_VERSION:-2.0.0.2}
3232

3333
# sshd may have been compiled with a default path excluding */sbin
3434
export PATH=$PATH:/usr/local/sbin:/usr/sbin
35+
# When doing xtrace (set -x / set -o xtrace), provide more debug output
36+
export PS4='+ ${BASH_SOURCE:-}:${FUNCNAME[0]:-}:L${LINENO:-}: '
3537

3638
source $WORKSPACE/devstack-gate/functions.sh
3739

0 commit comments

Comments
 (0)