diff --git a/ccollect b/ccollect index b565355..c3f6328 100755 --- a/ccollect +++ b/ccollect @@ -247,13 +247,8 @@ _techo() { if [ "${LOGLEVEL}" = "a" ] then - tag="${name:-}" - if [ "${tag}" ]; then - tag="[${tag}]" - else - tag="" - fi - "${_techof}" ${tag} "$@" + set -- ${name:+"[${name}]"} $@ + "${_techof}" "$@" fi }