forked from ungleich-public/cdist
enable debugging before catching unset variables
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
This commit is contained in:
parent
86e30c7a8a
commit
4440838650
2 changed files with 5 additions and 9 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue