Skip to content

Commit 7b22738

Browse files
Jenkinsopenstack-gerrit
authored andcommitted
Merge "Move xtrace early"
2 parents a30a980 + f0247ed commit 7b22738

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

stack.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,10 @@
2121

2222
# Learn more and get the most recent version at http://devstack.org
2323

24+
# Print the commands being run so that we can see the command that triggers
25+
# an error. It is also useful for following along as the install occurs.
26+
set -o xtrace
27+
2428
# Make sure custom grep options don't get in the way
2529
unset GREP_OPTIONS
2630

@@ -494,10 +498,6 @@ function err_trap {
494498
# Begin trapping error exit codes
495499
set -o errexit
496500

497-
# Print the commands being run so that we can see the command that triggers
498-
# an error. It is also useful for following along as the install occurs.
499-
set -o xtrace
500-
501501
# Print the kernel version
502502
uname -a
503503

0 commit comments

Comments
 (0)