mirror of https://github.com/CISOfy/lynis.git
Improve output on NetBSD by using a non-break version of echo as well
This commit is contained in:
parent
26a6e33637
commit
df0da8b0c4
|
@ -357,6 +357,8 @@
|
|||
esac
|
||||
|
||||
# Set correct echo binary and parameters after detecting operating system
|
||||
ECHONB=""
|
||||
|
||||
case ${OS} in
|
||||
"AIX") ECHOCMD="echo" ;;
|
||||
"MacOS") ECHOCMD="echo" ;;
|
||||
|
@ -369,6 +371,7 @@
|
|||
*) ECHOCMD="echo -e" ;;
|
||||
esac
|
||||
;;
|
||||
"NetBSD") ECHOCMD="echo -e"; ECHONB="echo -n" ;;
|
||||
*) ECHOCMD="echo -e" ;;
|
||||
esac
|
||||
|
||||
|
|
Loading…
Reference in New Issue