From f65b61ee8f89ff576c09c61975f27abb3e9932c4 Mon Sep 17 00:00:00 2001 From: Nico Schottelius Date: Mon, 5 Sep 2011 09:42:10 +0200 Subject: [PATCH] add debug via __cdist_debug variable Signed-off-by: Nico Schottelius --- bin/cdist-config | 3 +++ 1 file changed, 3 insertions(+) diff --git a/bin/cdist-config b/bin/cdist-config index d10f1ac7..d5c0464c 100644 --- a/bin/cdist-config +++ b/bin/cdist-config @@ -27,6 +27,9 @@ set -u # Fail if exited non-zero as well set -e +# enable debugging +[ "$__cdist_debug" ] && set -x + ################################################################################ # cconf standard vars prefixed with cdist