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
path: root/lynis
diff options
context:
space:
mode:
authorMichael Boelen <michael.boelen@cisofy.com>2018-06-28 17:29:16 +0300
committerMichael Boelen <michael.boelen@cisofy.com>2018-06-28 17:29:16 +0300
commit65190d214ce9f263adc54e997199725b315622a6 (patch)
tree74b1dbcdb6143536ca51e19281581773aae5b85b /lynis
parent6e0ac57b68bfd39dd7d464e93ec85203ee683313 (diff)
Move reporting of hostid2 to main section to ensure it is added to report
Diffstat (limited to 'lynis')
-rwxr-xr-xlynis3
1 files changed, 3 insertions, 0 deletions
diff --git a/lynis b/lynis
index 9746fe97..bbe94b5a 100755
--- a/lynis
+++ b/lynis
@@ -907,6 +907,9 @@ ${NORMAL}
else
LogText "Info: no HostID found or invalid one"
fi
+ if [ ! "${HOSTID2}" = "" ]; then
+ Report "hostid2=${HOSTID2}"
+ fi
if [ ! "${MACHINEID}" = "" ]; then
LogText "Info: found a machine ID ${MACHINEID}"
Report "machineid=${MACHINEID}"