allow debug to be unset when using
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
This commit is contained in:
parent
8f0d43375b
commit
d8cd9e0118
1 changed files with 2 additions and 0 deletions
|
@ -163,9 +163,11 @@ __cdist_echo()
|
||||||
|
|
||||||
case "$__cdist_echo_type" in
|
case "$__cdist_echo_type" in
|
||||||
debug)
|
debug)
|
||||||
|
set +u
|
||||||
if [ "$__cdist_debug" ]; then
|
if [ "$__cdist_debug" ]; then
|
||||||
echo $__cdist_echo_prefix "Debug: $@"
|
echo $__cdist_echo_prefix "Debug: $@"
|
||||||
fi
|
fi
|
||||||
|
set -u
|
||||||
;;
|
;;
|
||||||
info)
|
info)
|
||||||
echo $__cdist_echo_prefix "$@"
|
echo $__cdist_echo_prefix "$@"
|
||||||
|
|
Loading…
Reference in a new issue