mirror of
https://github.com/ovh/debian-cis.git
synced 2024-11-24 14:31:24 +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() {
|
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 () {
|
||||||
|
Loading…
Reference in New Issue
Block a user