allow empty $__cdist_object_self

Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
This commit is contained in:
Nico Schottelius 2011-04-06 20:31:19 +02:00
parent a76a9970a6
commit e3f27f1794

View file

@ -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)