mirror of
https://github.com/CISOfy/lynis.git
synced 2025-07-27 07:44:14 +02:00
typo fix in warning message (#585)
This commit is contained in:
parent
c1f9417792
commit
fd75c9fd0f
@ -136,7 +136,7 @@ InsertSection "Basics"
|
|||||||
|
|
||||||
FIND=$(grep "^USER" ${AUDIT_FILE} | cut -d' ' -f2 )
|
FIND=$(grep "^USER" ${AUDIT_FILE} | cut -d' ' -f2 )
|
||||||
if [ "${FIND}" = "" ]; then
|
if [ "${FIND}" = "" ]; then
|
||||||
ReportWarning "dockerfile" "No user declared in Dockerlfile. Container will execute command as root"
|
ReportWarning "dockerfile" "No user declared in Dockerfile. Container will execute command as root"
|
||||||
else
|
else
|
||||||
USER=$(echo ${FIND})
|
USER=$(echo ${FIND})
|
||||||
Display --indent 2 --text "User" --result "${USER}"
|
Display --indent 2 --text "User" --result "${USER}"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user