From d8cd9e01181758cd376e41f3adedc1f6faf46c02 Mon Sep 17 00:00:00 2001 From: Nico Schottelius Date: Tue, 10 May 2011 10:04:37 +0200 Subject: [PATCH] allow debug to be unset when using Signed-off-by: Nico Schottelius --- bin/cdist-config | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bin/cdist-config b/bin/cdist-config index 56f62144..6feaa767 100755 --- a/bin/cdist-config +++ b/bin/cdist-config @@ -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 "$@"