FIX(batch): sed \n to space in batch echo

This commit is contained in:
Charles Herlin 2019-03-19 10:38:41 +01:00
parent 02673826a0
commit 41e3402b10

View File

@ -52,8 +52,9 @@ _logger() {
} }
becho() { becho() {
builtin echo "$*" | /usr/bin/logger -t "CIS_Hardening[$$]" -p "user.info" toprint=$(echo "$*" | /usr/bin/tr '\n' ' ')
builtin echo "$*" builtin echo "$toprint" | /usr/bin/logger -t "CIS_Hardening[$$]" -p "user.info"
builtin echo "$toprint"
} }
cecho () { cecho () {