enable debugging before catching unset variables

Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
This commit is contained in:
Nico Schottelius 2011-09-05 09:49:00 +02:00
commit 4440838650
2 changed files with 5 additions and 9 deletions

View file

@ -21,15 +21,15 @@
__cdist_version="1.8.0"
# Enable debugging
[ "$__cdist_debug" ] && set -x
# Fail if something bogus is going on
set -u
# Fail if exited non-zero as well
set -e
# enable debugging
[ "$__cdist_debug" ] && set -x
################################################################################
# cconf standard vars prefixed with cdist