From e3f27f1794e5b1cbae87055ce751c470a4be57d3 Mon Sep 17 00:00:00 2001 From: Nico Schottelius Date: Wed, 6 Apr 2011 20:31:19 +0200 Subject: [PATCH] allow empty $__cdist_object_self 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 82d94753..a19fdc01 100755 --- a/bin/cdist-config +++ b/bin/cdist-config @@ -152,9 +152,11 @@ __cdist_echo() { __cdist_echo_type="$1"; shift + set +u if [ "$__cdist_object_self" ]; then __cdist_echo_prefix="$__cdist_object_self" fi + set -u case "$__cdist_echo_type" in debug)