Browse code

Merge "Move xtrace early"

Jenkins authored on 2015/08/28 10:09:00
Showing 1 changed files
... ...
@@ -21,6 +21,10 @@
21 21
 
22 22
 # Learn more and get the most recent version at http://devstack.org
23 23
 
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
+
24 28
 # Make sure custom grep options don't get in the way
25 29
 unset GREP_OPTIONS
26 30
 
... ...
@@ -494,10 +498,6 @@ function err_trap {
494 494
 # Begin trapping error exit codes
495 495
 set -o errexit
496 496
 
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
-
501 497
 # Print the kernel version
502 498
 uname -a
503 499