allow debug to be unset when using

Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
remotes/origin/1.7
Nico Schottelius 14 years ago
parent 8f0d43375b
commit d8cd9e0118
  1. 2
      bin/cdist-config

@ -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…
Cancel
Save