mirror of
https://github.com/ovh/debian-cis.git
synced 2024-12-24 23:15:23 +01:00
FIX(batch): sed \n to space in batch echo
This commit is contained in:
parent
02673826a0
commit
41e3402b10
@ -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 () {
|
||||
|
Loading…
Reference in New Issue
Block a user