allow empty $__cdist_object_self
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
This commit is contained in:
parent
a76a9970a6
commit
e3f27f1794
1 changed files with 2 additions and 0 deletions
|
@ -152,9 +152,11 @@ __cdist_echo()
|
||||||
{
|
{
|
||||||
__cdist_echo_type="$1"; shift
|
__cdist_echo_type="$1"; shift
|
||||||
|
|
||||||
|
set +u
|
||||||
if [ "$__cdist_object_self" ]; then
|
if [ "$__cdist_object_self" ]; then
|
||||||
__cdist_echo_prefix="$__cdist_object_self"
|
__cdist_echo_prefix="$__cdist_object_self"
|
||||||
fi
|
fi
|
||||||
|
set -u
|
||||||
|
|
||||||
case "$__cdist_echo_type" in
|
case "$__cdist_echo_type" in
|
||||||
debug)
|
debug)
|
||||||
|
|
Loading…
Reference in a new issue