mirror of https://github.com/CISOfy/lynis.git
Add better description of hardening points assignment
This commit is contained in:
parent
2fe5fa2cc6
commit
488c08c3f3
|
@ -77,9 +77,9 @@
|
|||
HPPOINTS=`expr ${HPPOINTS} + ${HPADD}`
|
||||
HPTOTAL=`expr ${HPTOTAL} + ${HPADDMAX}`
|
||||
if [ ${HPADD} -eq ${HPADDMAX} ]; then
|
||||
LogText "Hardening: assigned ${HPADD} hardening points (max for this item: ${HPADDMAX}), current: ${HPPOINTS}, total: ${HPTOTAL}"
|
||||
LogText "Hardening: assigned maximum number of hardening points for this item (${HPADDMAX}). Current: ${HPPOINTS}, total: ${HPTOTAL}"
|
||||
else
|
||||
LogText "Hardening: assigned ${HPADD} hardening points (max for this item: ${HPADDMAX}), current: ${HPPOINTS}, total: ${HPTOTAL} [*]"
|
||||
LogText "Hardening: assigned partial number of hardening points (${HPADD}). Maximum for this item: ${HPADDMAX}. Current: ${HPPOINTS}, total: ${HPTOTAL}"
|
||||
fi
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue