diff --git a/lib/common.sh b/lib/common.sh index 4c7e212..9bbf221 100644 --- a/lib/common.sh +++ b/lib/common.sh @@ -52,8 +52,9 @@ _logger() { } becho() { - builtin echo "$*" | /usr/bin/logger -t "CIS_Hardening[$$]" -p "user.info" - builtin echo "$*" + toprint=$(echo "$*" | /usr/bin/tr '\n' ' ') + builtin echo "$toprint" | /usr/bin/logger -t "CIS_Hardening[$$]" -p "user.info" + builtin echo "$toprint" } cecho () {