allow debug to be unset when using

Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
This commit is contained in:
Nico Schottelius 2011-05-10 10:04:37 +02:00
parent 8f0d43375b
commit d8cd9e0118

View file

@ -163,9 +163,11 @@ __cdist_echo()
case "$__cdist_echo_type" in
debug)
set +u
if [ "$__cdist_debug" ]; then
echo $__cdist_echo_prefix "Debug: $@"
fi
set -u
;;
info)
echo $__cdist_echo_prefix "$@"