Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/CISOfy/lynis.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Boelen <michael.boelen@cisofy.com>2019-04-04 20:04:42 +0300
committerMichael Boelen <michael.boelen@cisofy.com>2019-04-04 20:04:42 +0300
commit72ba872a2fc2de1900f7a3f088b1b136a2751e32 (patch)
treecd0c3b59186ce116ada01ce643556cf1538fb4c1
parent99362242784c9efd25b84b38a347f10933af1e1a (diff)
Improve text output for AIX systems
-rw-r--r--include/osdetection2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/osdetection b/include/osdetection
index 5ab80293..a6c18bb5 100644
--- a/include/osdetection
+++ b/include/osdetection
@@ -477,7 +477,7 @@
ECHONB=""
case ${OS} in
- "AIX") ECHOCMD="echo" ;;
+ "AIX") ECHOCMD="echo"; ECHONB="printf" ;;
"DragonFly"|"FreeBSD"|"NetBSD") ECHOCMD="echo -e"; ECHONB="echo -n" ;;
"macOS" | "Mac OS X") ECHOCMD="echo"; ECHONB="/bin/echo -n" ;;
"Solaris") ECHOCMD="echo" ; test -f /usr/ucb/echo && ECHONB="/usr/ucb/echo -n" ;;