enable errtrace right after xtrace

This commit is contained in:
Patrick Schleizer 2015-08-10 22:59:53 +02:00
parent d16fac0b56
commit ec69d65372
No known key found for this signature in database
GPG Key ID: CB8D50BB77BB3C48
2 changed files with 4 additions and 4 deletions

View File

@ -4,6 +4,8 @@ if [ "${VERBOSE}" -ge 2 -o "${DEBUG}" == "1" ]; then
set -x
fi
set -e
# ------------------------------------------------------------------------------
# Configurations
# ------------------------------------------------------------------------------
@ -14,8 +16,6 @@ RETCODE=0
: ${DIST=fc14}
set -e
. ./builder_setup >/dev/null
. ./umount_kill.sh >/dev/null

View File

@ -4,6 +4,8 @@ if [ "$VERBOSE" -ge 2 -o "$DEBUG" == "1" ]; then
set -x
fi
set -e
# ------------------------------------------------------------------------------
# Configurations and Conditionals
# ------------------------------------------------------------------------------
@ -14,8 +16,6 @@ export LC_ALL=POSIX
. ./builder_setup >/dev/null
. ./umount_kill.sh >/dev/null
set -e
if [ $# -eq 0 ]; then
echo "usage $0 <clean_image_file> <template_name>"
exit